document clearsessions usage
This commit is contained in:
parent
5e2ddfec1c
commit
4205172942
@ -68,6 +68,17 @@ applies to the django version YOU use):
|
||||
|
||||
https://docs.djangoproject.com/en/1.6/howto/deployment/checklist/
|
||||
|
||||
Regular jobs
|
||||
------------
|
||||
Run these commands regularly::
|
||||
|
||||
# clear expired sessions from the database, use your correct settings module:
|
||||
django-admin.py clearsessions --settings=local_settings
|
||||
|
||||
To run these commands regularly on Linux (or other POSIX OSes), you can use
|
||||
crontab -e to create a cronjob that runs as the same user as the nsupdate.info
|
||||
wsgi application.
|
||||
|
||||
|
||||
Configuration
|
||||
=============
|
||||
|
Loading…
x
Reference in New Issue
Block a user