Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cron updates #683

Merged
merged 2 commits into from
Aug 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions gregor_apps.cron
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# GREGOR_APPS crontab
# nightly except sunday at 00:00
0 0 * * MON-SAT . /var/www/django/gregor_apps/gregor-apps-activate.sh; python manage.py run_anvil_audit --email gregorconsortium@uw.edu --errors-only >> cron.log 2>&1
# GREGOR_APPS crontab - maintained in git gregor_apps.cron
# Send errors to gregorweb email
MAILTO="gregorweb@uw.edu"

# sunday night at 00:00
0 0 * * SUN . /var/www/django/gregor_apps/gregor-apps-activate.sh; python manage.py run_anvil_audit --email [email protected] >> cron.log 2>&1
# nightly except sunday at 02:00
0 2 * * MON-SAT . /var/www/django/gregor_apps/gregor-apps-activate.sh; python manage.py run_anvil_audit --email [email protected] --errors-only >> cron.log

# sunday night at 02:00
0 2 * * SUN . /var/www/django/gregor_apps/gregor-apps-activate.sh; python manage.py run_anvil_audit --email [email protected] >> cron.log