Django and Cron...beautiful
Django is indeed an amazing framework. But one of the greatest new features of the 1.0 release is the ability to create your own django-admin actions (you know, the command line actions that do things like database syncing?). It's really handy for things that you do repeatedly.
The cool thing, though, is that since these are executed as just a normal python script, you can use cron to schedule them to happen automatically. This is really nice for things that I need done on a regular bases, like emailing users. I can create a model in Django for my email, set up a django-admin command to check to see if there are emails waiting to send, and then use cron to poll every now and then and send them out.
Comments