Get current timestamp of schedule task di Ha Tuan Em - giovedì, 21 aprile 2022, 10:43 Numero di risposte: 2 Hi,My work is reference to timestamp of schedule task for caculating.So I do not know how we can get the current timestamp in a schedule task? Media dei voti: - Permalink Rispondi In riposta a Ha Tuan Em Re: Get current timestamp of schedule task di Benjamin Ellis - giovedì, 21 aprile 2022, 19:39 Hi, Just calling the PHP function time() will give you a timestamp but I am not sure that is what you are trying to do from your message. Media dei voti: - Permalink Visualizza intervento genitore Rispondi In riposta a Ha Tuan Em Re: Get current timestamp of schedule task di Davo Smith - giovedì, 21 aprile 2022, 22:25 All the information about each scheduled task is stored in DB table mdl_task_scheduled. This includes nextruntime (the timestamp for the next time after which the task will run again) and lastruntime (the timestamp when the task last completed). Media dei voti: - Permalink Visualizza intervento genitore Rispondi
In riposta a Ha Tuan Em Re: Get current timestamp of schedule task di Benjamin Ellis - giovedì, 21 aprile 2022, 19:39 Hi, Just calling the PHP function time() will give you a timestamp but I am not sure that is what you are trying to do from your message. Media dei voti: - Permalink Visualizza intervento genitore Rispondi
In riposta a Ha Tuan Em Re: Get current timestamp of schedule task di Davo Smith - giovedì, 21 aprile 2022, 22:25 All the information about each scheduled task is stored in DB table mdl_task_scheduled. This includes nextruntime (the timestamp for the next time after which the task will run again) and lastruntime (the timestamp when the task last completed). Media dei voti: - Permalink Visualizza intervento genitore Rispondi