求教 celery beat 调度不准时
資深大佬 : dojo 5
2020-11-19 08:46:43.804 INFO 139709066150912 [beat.py:271] Scheduler: Sending due task HCM:_periodic_204432 (apps.time.schedule.models.receive_warning_task) 2020-11-19 08:46:43.814 INFO 139709066150912 [scheduler.py:220] apply_async:9:110:12004:<HCMScheduleEntry: HCM:_periodic_204432 apps.time.schedule.models.receive_warning_task(company_id=8, shift_id=2539, section_id=14893, warning_key='begin_warning') <crontab: 25 8 * * * (m/h/d/dM/MY)> 2020-11-20 09:15:40.843 INFO 140618944816128 [beat.py:271] Scheduler: Sending due task HCM:_periodic_204432 (apps.time.schedule.models.receive_warning_task) 2020-11-20 09:15:40.849 INFO 140618944816128 [scheduler.py:220] apply_async:6:525:36598:<HCMScheduleEntry: HCM:_periodic_204432 apps.time.schedule.models.receive_warning_task(company_id=8, shift_id=2539, section_id=14893, warning_key='begin_warning') <crontab: 25 8 * * * (m/h/d/dM/MY)>
各位大佬 我们用 celery 做定时打卡,8:25 提醒打卡,但是最近不是提前就是延后,排查日志看到本该 8:25 调度的任务 beat 在 9:15 或者 8:46 才发出,这有可能是什么引起的。
大佬有話說 (5)