-
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.
Add sync-user-data management command cron entries
- Loading branch information
Showing
2 changed files
with
11 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
# GREGOR_APPS crontab | ||
MAILTO="[email protected]" | ||
# 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 [email protected] --errors-only >> cron.log 2>&1 | ||
0 0 * * 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 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 | ||
0 0 * * SUN . /var/www/django/gregor_apps/gregor-apps-activate.sh; python manage.py run_anvil_audit --email [email protected] >> cron.log | ||
|
||
# Nightly user data audit | ||
0 2 * * * . /var/www/django/gregor_apps/gregor-apps-activate.sh; python manage.py sync-drupal-data --update --email [email protected] >> 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,10 @@ | ||
# GREGOR_APPS_DEV crontab - disabled by default | ||
# can be enabled for testing. | ||
# nightly except sunday at 00:00 | ||
# 0 0 * * MON-SAT . /var/www/django/gregor_apps/gregor-apps-dev-activate.sh; python manage.py run_anvil_audit --email [email protected] --errors-only >> cron.log 2>&1 | ||
# 0 0 * * MON-SAT . /var/www/django/gregor_apps_dev/gregor-apps-dev-activate.sh; python manage.py run_anvil_audit --email [email protected] --errors-only >> cron.log 2>&1 | ||
|
||
# sunday night at 00:00 | ||
# 0 0 * * SUN . /var/www/django/gregor_apps/gregor-apps-dev-activate.sh; python manage.py run_anvil_audit --email [email protected] >> cron.log 2>&1 | ||
# 0 0 * * SUN . /var/www/django/gregor_apps_dev/gregor-apps-dev-activate.sh; python manage.py run_anvil_audit --email [email protected] >> cron.log 2>&1 | ||
|
||
# sunday night at 01:00 | ||
# 0 1 * * SUN . /var/www/django/gregor_apps_dev/gregor-apps-dev-activate.sh; python manage.py run_anvil_audit --email [email protected] >> cron.log |