You can do something like this (all in a single command line), assuming "myproject" is in PYTHONPATH:
DJANGO_SETTINGS_MODULE="settings" ./daily_cleanup.py -or- DJANGO_SETTINGS_MODULE="myproject.settings" ./daily_cleanup.py Note: You won't be able to run the above script, unless you can do the following from the Python interpreter: >>> import settings -or- >>> import myproject.settings If you get an ImportError, figure out how to resolve it first. If you get stuck, the friendly folks on irc #django can help you out. -- Jeff Bauer Rubicon, Inc. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---