如何安排每个月份运行的芹菜的任务? [英] How do I schedule a task with Celery that runs on 1st of every month?
本文介绍了如何安排每个月份运行的芹菜的任务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用芹菜安排任务
推荐答案
由于Celery 3.0的crontab计划现在支持 day_of_month
和 month_of_year
参数: http://docs.celeryproject.org/en/latest/userguide/periodic-tasks.html#crontab-schedules
Since Celery 3.0 the crontab schedule now supports day_of_month
and month_of_year
arguments: http://docs.celeryproject.org/en/latest/userguide/periodic-tasks.html#crontab-schedules
这篇关于如何安排每个月份运行的芹菜的任务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文