I have a repetitive background task I'd like to run in my Django environment, for example, once a minute. What's the best way to do this? Currently, I run a cron job that executes a Python script, imports the Django modules it needs, and does its work. But this means configuring this cron job on every development machine and server to have the complete environment.
Is there a good way to do this sort of thing within Django itself? How have other people solved this problem? --Ned http://nedbatchelder.com