dpaste.org
This commit is contained in:
parent
48b33477b1
commit
0d6a792fd4
|
@ -23,11 +23,11 @@ $ pipenv run ./managepy cleanup_snippets
|
|||
A crontab line might look like:
|
||||
|
||||
```c
|
||||
1 20 * * * /srv/dpaste.de/pipenv run manage.py cleanup_snippets > /dev/null
|
||||
1 20 * * * /srv/dpaste.org/pipenv run manage.py cleanup_snippets > /dev/null
|
||||
```
|
||||
|
||||
!!! note "Note"
|
||||
|
||||
If you use the *database* session backend, you may also need to setup a crontab that removes the expired entries from the session database.
|
||||
|
||||
See the related [Django Documentation](https://docs.djangoproject.com/en/2.0/ref/django-admin/#django-admin-clearsessions) for details.
|
||||
See the related [Django Documentation](https://docs.djangoproject.com/en/2.0/ref/django-admin/#django-admin-clearsessions) for details.
|
||||
|
|
Loading…
Reference in New Issue