Skip to content

Commit

Permalink
Disable locale sync from crons temporarily.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmac committed Feb 11, 2015
1 parent 0e57d1e commit a61fd11
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
6 changes: 2 additions & 4 deletions etc/cron.d/bedrock-dev.tmpl
Expand Up @@ -5,12 +5,10 @@
MAILTO="webops-cron@mozilla.com,cron-bedrock@mozilla.com"

0-59/10 * * * * root /data/bedrock-dev/src/update-www-dev.allizom.org.sh
1-59/10 * * * * root /data/bedrock-dev/src/update-www-dev.allizom.org-django.sh
0 * * * * {{ django_cron }} update_feeds > /dev/null 2>&1
# TODO Make this run chief
# 1-59/10 * * * * root /data/bedrock-dev/src/update-www-dev.allizom.org-django.sh
*/5 * * * * {{ django_manage }} rnasync > /dev/null 2>&1

*/15 * * * * root /data/bedrock-dev/src/update-www-dev.allizom.org-svn-locale.sh

# bug 1014586
3 */2 * * * {{ django_cron }} update_tweets > /dev/null 2>&1

3 changes: 2 additions & 1 deletion etc/cron.d/bedrock-prod.tmpl
Expand Up @@ -7,7 +7,8 @@ MAILTO="webops-cron@mozilla.com,cron-bedrock@mozilla.com"
*/10 * * * * root /data/bedrock/src/update-www.mozilla.org.sh

*/5 * * * * {{ django_manage }} rnasync > /dev/null 2>&1
*/15 * * * * {{ user }} /data/bedrock/src/update-www.mozilla.org-cron-svn-locale.sh &> /dev/null
# TODO Make this script only sync locales
# */15 * * * * {{ user }} /data/bedrock/src/update-www.mozilla.org-cron-svn-locale.sh &> /dev/null
# outputs when the run completed to http://www.mozilla.org/media/locale_finished.txt

# disabled per bug 1042074
Expand Down
9 changes: 2 additions & 7 deletions etc/cron.d/bedrock-stage.tmpl
Expand Up @@ -6,7 +6,8 @@ MAILTO="webops-cron@mozilla.com,cron-bedrock@mozilla.com"

*/10 * * * * {{ user }} /data/bedrock-stage/src/update-www.allizom.org.sh

*/15 * * * * {{ user }} /data/bedrock-stage/src/update-www.allizom.org-svn-locale.sh
# TODO Make this script only sync locales
# */15 * * * * {{ user }} /data/bedrock-stage/src/update-www.allizom.org-svn-locale.sh
# outputs when the run completed to http://www.allizom.org/media/locale_finished.txt

# In testing for bug 753566 resolution...
Expand All @@ -19,12 +20,6 @@ MAILTO="webops-cron@mozilla.com,cron-bedrock@mozilla.com"
# bug 996144
1 */2 * * * {{ django_cron }} update_tweets > /dev/null 2>&1

#
# alternative- run the cron twice right on the admin node, passing --settings=settings/memcache-XXX.py... will this work?
# requires maintaining 2 extra settings files, at least wrt memcache settings
#0 * * * * * root cd /data/www.allizom.org-django/bedrock; python manage.py --settings=settings/memcache-phx1.py cron update_feeds 2>&1 1> /dev/null | grep -v 'old-style Playdoh layout'"
#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
# Have to do this in the SRC dir because rsync destroys git repos in WWW dir.
41 * * * * {{ django_src_manage }} update_security_advisories --quiet
Expand Down

0 comments on commit a61fd11

Please sign in to comment.