Why would running scheduled tasks with Celery be preferable over crontab?

后端 未结 2 517
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-12 22:03

Considering Celery is already a part of the stack to run task queues (i.e. it is not being added just for running crons, that seems an overkill IMHO ).

How can its \

2条回答
  •  情歌与酒
    2020-12-12 22:41

    Celery is indicated any time you need to coordinate jobs across multiple machines, ensure jobs run even as machines are added or dropped from a workgroup, have the ability to set expiration times for jobs, define multi-step jobs with graph-style rather than linear dependency flow, or have a single repository of scheduling logic that operates the same across multiple operating systems and versions.

提交回复
热议问题