Brad's Blog

Published: 2009-02-20

Scheduled Tasks (or cron jobs) with Django

Python cron django web

This is my take on setting up cron jobs for the apps in a Django project. It is based on my own convention, and it solves my initial problems where I want to perform some action on all of my Django apps at a periodic interval (currently this is a once-a-day task).In order for this to work, I create a module for all of my INSTALLED_APPS. This module must contain a run method. Other than that, it ...