Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Crons are fine for running Django commands that are just talking to the same services as your web views (databases, cache, email services etc). It should be fine to let them run in their dedicated VM/containers, using Ansible etc to keep the crontab configurations in the repo.

Celerybeat has the advantage of better visibility e.g. you can configure them in the Django admin and check when they are running. If you are not using Celery though and your needs are simple, it's easier to just use plain crons.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: