daily_cleanup (1) Linux Manual Page
daily_cleanup.py – Database clean-up for the Django Web framework
Synopsis
daily_cleanup.pyDescription
Removes stale session data from a Django database. This means, any session 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.settings".
See Also
The sessions documentation:http://docs.djangoproject.com/en/dev/topics/http/sessions/
