diff --git a/scripts/crontab/make-crons.py b/scripts/crontab/make-crons.py index 1cc2fb0f02..15985318b3 100755 --- a/scripts/crontab/make-crons.py +++ b/scripts/crontab/make-crons.py @@ -92,6 +92,7 @@ HOME = /tmp 30 1 * * * $Z_CRON update_user_ratings 30 2 * * * $Z_CRON addon_reviews_ratings 30 3 * * * $DJANGO cleanup +30 3 * * * $Z_CRON reindex_addons 30 4 * * * $Z_CRON cleanup_synced_collections 30 5 * * * $REMORA; php -f maintenance.php expired_resetcode 30 6 * * * $REMORA; php -f maintenance.php category_totals diff --git a/scripts/crontab/preview b/scripts/crontab/preview index 9497f0ed1b..208b7bc726 100644 --- a/scripts/crontab/preview +++ b/scripts/crontab/preview @@ -51,6 +51,7 @@ HOME = /tmp 30 1 * * * cd /data/amo_python/src/preview/zamboni; /usr/bin/python26 manage.py cron update_user_ratings 30 2 * * * cd /data/amo_python/src/preview/zamboni; /usr/bin/python26 manage.py cron addon_reviews_ratings 30 3 * * * cd /data/amo_python/src/preview/zamboni; /usr/bin/python26 manage.py cleanup +30 3 * * * cd /data/amo_python/src/preview/zamboni; /usr/bin/python26 manage.py cron reindex_addons 30 4 * * * cd /data/amo_python/src/preview/zamboni; /usr/bin/python26 manage.py cron cleanup_synced_collections 30 5 * * * cd /data/amo/www/addons.mozilla.org-preview/bin; php -f maintenance.php expired_resetcode 30 6 * * * cd /data/amo/www/addons.mozilla.org-preview/bin; php -f maintenance.php category_totals diff --git a/scripts/crontab/prod b/scripts/crontab/prod index 158f90da1e..c1f39f5c75 100644 --- a/scripts/crontab/prod +++ b/scripts/crontab/prod @@ -51,6 +51,7 @@ HOME = /tmp 30 1 * * * apache cd /data/amo_python/src/prod/zamboni; /usr/bin/python26 manage.py cron update_user_ratings 30 2 * * * apache cd /data/amo_python/src/prod/zamboni; /usr/bin/python26 manage.py cron addon_reviews_ratings 30 3 * * * apache cd /data/amo_python/src/prod/zamboni; /usr/bin/python26 manage.py cleanup +30 3 * * * apache cd /data/amo_python/src/prod/zamboni; /usr/bin/python26 manage.py cron reindex_addons 30 4 * * * apache cd /data/amo_python/src/prod/zamboni; /usr/bin/python26 manage.py cron cleanup_synced_collections 30 5 * * * apache cd /data/amo/www/addons.mozilla.org-remora/bin; php -f maintenance.php expired_resetcode 30 6 * * * apache cd /data/amo/www/addons.mozilla.org-remora/bin; php -f maintenance.php category_totals