Skip to content
Snippets Groups Projects
Verified Commit 9af32fdf authored by Thomas Downes's avatar Thomas Downes
Browse files

Add cleanup script to be run as crontab/k8s cronjob

parent ad55742f
No related branches found
No related tags found
No related merge requests found
......@@ -37,6 +37,7 @@ RUN apt-get update && \
npm install -g bower
COPY docker/entrypoint /usr/local/bin/entrypoint
COPY docker/cleanup /usr/local/bin/cleanup
COPY docker/supervisord.conf /etc/supervisor/supervisord.conf
COPY docker/supervisord-apache2.conf /etc/supervisor/conf.d/apache2.conf
COPY docker/supervisord-lvalert-overseer.conf /etc/supervisor/conf.d/overseer.conf
......
#!/bin/sh
python /app/gracedb_project/manage.py update_user_accounts_from_ligo_ldap
python /app/gracedb_project/manage.py remove_inactive_alerts
python /app/gracedb_project/manage.py clearsessions
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment