Skip to content

Commit

Permalink
run the slug script twice a day (mostly for personas)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Balogh committed Dec 21, 2010
1 parent c5b118c commit 609de64
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/crontab/make-crons.py
Expand Up @@ -72,6 +72,8 @@
#twice per day
25 1,13 * * * $REMORA; /usr/bin/python26 import-personas.py
# Add slugs after we get all the new personas.
25 2,14 * * * $Z_CRON addons_add_slugs
25 3,15 * * * $Z_CRON update_addons_collections_downloads
25 4,16 * * * $Z_CRON update_collections_total
Expand Down
2 changes: 2 additions & 0 deletions scripts/crontab/preview
Expand Up @@ -31,6 +31,8 @@ HOME = /tmp

#twice per day
25 1,13 * * * cd /data/amo/www/addons.mozilla.org-preview/bin; /usr/bin/python26 import-personas.py
# Add slugs after we get all the new personas.
25 2,14 * * * cd /data/amo_python/src/preview/zamboni; /usr/bin/python26 manage.py cron addons_add_slugs
25 3,15 * * * cd /data/amo_python/src/preview/zamboni; /usr/bin/python26 manage.py cron update_addons_collections_downloads
25 4,16 * * * cd /data/amo_python/src/preview/zamboni; /usr/bin/python26 manage.py cron update_collections_total

Expand Down
2 changes: 2 additions & 0 deletions scripts/crontab/prod
Expand Up @@ -31,6 +31,8 @@ HOME = /tmp

#twice per day
25 1,13 * * * apache cd /data/amo/www/addons.mozilla.org-remora/bin; /usr/bin/python26 import-personas.py
# Add slugs after we get all the new personas.
25 2,14 * * * apache cd /data/amo_python/src/prod/zamboni; /usr/bin/python26 manage.py cron addons_add_slugs
25 3,15 * * * apache cd /data/amo_python/src/prod/zamboni; /usr/bin/python26 manage.py cron update_addons_collections_downloads
25 4,16 * * * apache cd /data/amo_python/src/prod/zamboni; /usr/bin/python26 manage.py cron update_collections_total

Expand Down

0 comments on commit 609de64

Please sign in to comment.