Get current timestamp of schedule task โดย Ha Tuan Em - วันพฤหัสบดี, 21 เมษายน 2022, 10:43AM Number of replies: 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? การประเมินโดยเฉลี่ย: - Permalink ตอบ In reply to Ha Tuan Em Re: Get current timestamp of schedule task โดย Benjamin Ellis - วันพฤหัสบดี, 21 เมษายน 2022, 7:39PM 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. การประเมินโดยเฉลี่ย: - Permalink ความเห็นก่อนหน้า ตอบ In reply to Ha Tuan Em Re: Get current timestamp of schedule task โดย Davo Smith - วันพฤหัสบดี, 21 เมษายน 2022, 10:25PM 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). การประเมินโดยเฉลี่ย: - Permalink ความเห็นก่อนหน้า ตอบ
In reply to Ha Tuan Em Re: Get current timestamp of schedule task โดย Benjamin Ellis - วันพฤหัสบดี, 21 เมษายน 2022, 7:39PM 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. การประเมินโดยเฉลี่ย: - Permalink ความเห็นก่อนหน้า ตอบ
In reply to Ha Tuan Em Re: Get current timestamp of schedule task โดย Davo Smith - วันพฤหัสบดี, 21 เมษายน 2022, 10:25PM 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). การประเมินโดยเฉลี่ย: - Permalink ความเห็นก่อนหน้า ตอบ