在Django-Q中,有没有办法对一个作业使用多个cron表达式?我想在不同月份的不同日期安排一项工作。
想要结合这个-
At 11:00 on day-of-month 10, 20, and 30 in January and every month from March through December--
0 11 10,20 1,2,4-12 *
At 11:00 on day-of-month 10, 20, and 28 in February.--
0 11 10,20,28 2 *发布于 2021-11-18 08:47:27
我不认为我们可以这样做,更好的方法是保持一个每天运行的cron,并检查今天是否有任何cron需要运行(我们可以将cron信息存储在数据库表中)。
https://stackoverflow.com/questions/70016009
复制相似问题