Skip to content

Commit

Permalink
Update dev cron to have mailto and not redirect stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarson committed Jan 25, 2024
1 parent 66ea743 commit 97be96b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions primed_apps_dev.cron
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# PRIMED_APPS_DEV crontab - disabled by default
MAILTO="[email protected]"
# can be enabled for testing.
# nightly except sunday at 01:00
# 0 1 * * MON-SAT . /var/www/django/primed_apps_dev/primed-apps-dev-activate.sh; python manage.py run_anvil_audit --email [email protected] --errors-only >> cron.log 2>&1
# 0 1 * * MON-SAT . /var/www/django/primed_apps_dev/primed-apps-dev-activate.sh; python manage.py run_anvil_audit --email [email protected] --errors-only >> cron.log

# sunday night at 01:00
# 0 1 * * SUN . /var/www/django/primed_apps_dev/primed-apps-dev-activate.sh; python manage.py run_anvil_audit --email [email protected] >> cron.log 2>&1
# 0 1 * * SUN . /var/www/django/primed_apps_dev/primed-apps-dev-activate.sh; python manage.py run_anvil_audit --email [email protected] >> cron.log

0 comments on commit 97be96b

Please sign in to comment.