This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
|
#!/bin/sh
|
|
|
|
# clean out old data from the database (sessions)
|
|
|
|
cd /usr/local/univnautes
|
|
. bin/activate
|
|
|
|
cd pffedportal
|
|
python ./cleanup_sessions.py
|
|
|
|
# Cf https://docs.djangoproject.com/en/dev/ref/django-admin/#cleanup
|
|
cd ..
|
|
cd pfidp
|
|
python ./manage.py cleanup
|
|
|
|
exit 0
|