#! /bin/sh

# aircox daily tasks:
# - diffusions monitoring for the current month
cd /srv/apps/aircox/
scripts/launch_in_venv ./manage.py diffusions --update --clean --check --mode auto
# - diffusions monitoring for the next month
scripts/launch_in_venv ./manage.py diffusions --update --next-month --mode auto
cd -

# - archiver monitoring for the next month
scripts/launch_in_venv ./manage.py archiver -a 90
cd -


