daily_cleanup.py(1)daily_cleanup.py(1)NAMEdaily_cleanup.py - Database clean-up for the Django Web framework
SYNOPSISdaily_cleanup.pyDESCRIPTION
Removes stale session data from a Django database. This means, any ses‐
sion data which has an expiry date prior to the date the script is run.
The script can be run manually or can be scheduled to run at regular
intervals as a cron job.
ENVIRONMENT
DJANGO_SETTINGS_MODULE
This environment variable defines the settings module to be
read. It should be in Python-import form, e.g. "myproject.set‐
tings".
SEE ALSO
The sessions documentation:
http://docs.djangoproject.com/en/dev/topics/http/sessions/
AUTHORS/CREDITS
Originally developed at World Online in Lawrence, Kansas, USA. Refer to
the AUTHORS file in the Django distribution for contributors.
LICENSE
New BSD license. For the full license text refer to the LICENSE file in
the Django distribution.
Django Project August 2007 daily_cleanup.py(1)