dpaste.org

This commit is contained in:
Darren Nathanael 2022-03-27 08:37:04 -05:00 committed by GitHub
parent 48b33477b1
commit 0d6a792fd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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.