How do you deploy cron jobs to production?

后端 未结 9 1162
北海茫月
北海茫月 2021-02-01 18:42

How do people deploy/version control cronjobs to production? I\'m more curious about conventions/standards people use than any particular solution, but I happen to be using git

9条回答
  •  旧巷少年郎
    2021-02-01 19:27

    If you're using Django, take a look at the jobs system from django-command-extensions.

    The benefits are that you can keep your jobs inside your project structure, with version control, write everything in Python and configure crontab only once.

提交回复
热议问题