[Fixed]-Automated tasks in django

1👍

You could create a management command and run it from a cron job every day.

https://docs.djangoproject.com/en/1.10/howto/custom-management-commands/

Alternately Celery can run scheduled tasks in a cron like fashion, but this takes a fair bit of setting up. It does have the advantage that its done in Django, so if you move servers then you don’t need to remember to set up the cron jobs.

Leave a comment