зеркало из https://github.com/mozilla/bedrock.git
Fix environment variable in crontab
This commit is contained in:
Родитель
0364eda68d
Коммит
df2c3c84d9
|
@ -1,6 +1,6 @@
|
|||
MAILTO="webops-cron@mozilla.com,cron-bedrock@mozilla.com"
|
||||
BEDROCK=/data/bedrock/src/www.mozilla.org-django/bedrock
|
||||
DEPLOY=/data/bedrock/deploy
|
||||
BEDROCK_DEPLOY=/data/bedrock/deploy
|
||||
# TODO: update rest of cron jobs to use the above env variables
|
||||
|
||||
# webdev requests that prod auto-updates the PHP side, for similar to old
|
||||
|
|
|
@ -26,9 +26,9 @@ BEDROCK_DEPLOY=/data/bedrock-stage/deploy
|
|||
#0 * * * * * root cd /data/www.allizom.org-django/bedrock; python manage.py --settings=settings/memcache-scl3.py cron update_feeds 2>&1 1> /dev/null | grep -v 'old-style Playdoh layout'"
|
||||
|
||||
# bug 1072999
|
||||
41 * * * * root cd $BEDROCK; python manage.py update_security_advisories --quiet
|
||||
41 * * * * root cd $BEDROCK && python manage.py update_security_advisories --quiet
|
||||
|
||||
# bug 1087533
|
||||
# TODO: redirect output to null after initial deployment and verification
|
||||
42 * * * * root cd $BEDROCK; python manage.py cron update_reps_ical
|
||||
43 * * * * root cd $BEDROCK; python manage.py cron update_openstandard_feeds && $BEDROCK_DEPLOY -a && python manage.py cron update_openstandard_on_homepage
|
||||
42 * * * * root cd $BEDROCK && python manage.py cron update_reps_ical
|
||||
43 * * * * root cd $BEDROCK && python manage.py cron update_openstandard_feeds && $BEDROCK_DEPLOY -a && python manage.py cron update_openstandard_on_homepage
|
||||
|
|
Загрузка…
Ссылка в новой задаче