How can I schedule a Task to execute at a specific time using celery?

后端 未结 5 1581
忘掉有多难
忘掉有多难 2020-11-29 02:32

I\'ve looked into PeriodicTask, but the examples only cover making it recur. I\'m looking for something more like cron\'s ability to say \"execute

5条回答
  •  猫巷女王i
    2020-11-29 03:03

    I have just submitted a patch to add a ScheduledTask to accomplish a small bit of time based scheduling versus period based:

    https://github.com/celery/celery/commit/e8835f1052bb45a73f9404005c666f2d2b9a9228

提交回复
热议问题