supervisord & cron with virtualenv

This commit is contained in:
bkfox
2016-12-13 20:49:13 +01:00
parent 8d3400a0f6
commit 6d072c084e
6 changed files with 12 additions and 6 deletions

View File

@ -2,6 +2,7 @@
# aircox daily tasks:
# - diffusions monitoring for the current month
export PATH="/srv/apps/aircox/venv/bin"
/srv/apps/aircox/manage.py diffusions_monitor --update --clean --check
# - diffusions monitoring for the next month
/srv/apps/aircox/manage.py diffusions_monitor --update --next-month