-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #398 from UW-GAC/feature/cdsa-records-cron
Add a cron job for generating CDSA records
- Loading branch information
Showing
4 changed files
with
25 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,12 @@ | ||
# PRIMED_APPS crontab | ||
# PRIMED_APPS crontab - maintained in git primed_apps.cron | ||
# Send errors to primedweb email | ||
MAILTO="[email protected]" | ||
|
||
# nightly except sunday at 01:00 | ||
0 1 * * MON-SAT . /var/www/django/primed_apps/primed-apps-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/primed-apps-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/primed-apps-activate.sh; python manage.py run_anvil_audit --email [email protected] >> cron.log 2>&1 | ||
0 1 * * SUN . /var/www/django/primed_apps/primed-apps-activate.sh; python manage.py run_anvil_audit --email [email protected] >> cron.log | ||
|
||
# Weekly cdsa_records run Sundays at 03:00 - disabled until permissions issues are resolved | ||
0 3 * * SUN . /var/www/django/primed_apps/primed-apps-activate.sh; python manage.py cdsa_records --outdir /projects/primed/records/cdsa/$(date +'\%Y-\%m-\%d') >> cron.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |