Closed Bug 526553 Opened 15 years ago Closed 15 years ago

[AMO] Adjust timing of cron jobs

Categories

(Infrastructure & Operations Graveyard :: WebOps: Other, task)

All
Other
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: clouserw, Assigned: dmoore)

Details

There are 5 cron jobs that represent, by far, the bulk of the errors we're seeing right now and each runs once every 20 minutes:

0,20,40 * * * * root cd /data/amo/www/addons.mozilla.org-remora/bin ; /usr/bin/python26 maintenance.py total
10,30,50 * * * * root cd /data/amo/www/addons.mozilla.org-remora/bin ; /usr/bin/python26 maintenance.py weekly
5,25,45 * * * * root cd /data/amo/www/addons.mozilla.org-remora/bin ; php -f maintenance.php reviews
15,35,55 * * * * root cd /data/amo/www/addons.mozilla.org-remora/bin ; php -f maintenance.php ratings
16,36,56 * * * * root cd /data/amo/www/addons.mozilla.org-remora/bin ; php -f maintenance.php user_ratings

Can you adjust each of these, on preview and production, so they run only twice per hour?  Hopefully that will relieve some pressure we're feeling.
Assignee: server-ops → dmoore
Adjusted to:


0,30 * * * * root cd /data/amo/www/addons.mozilla.org-preview/bin; /usr/bin/python26 maintenance.py total
10,40 * * * * root cd /data/amo/www/addons.mozilla.org-preview/bin; /usr/bin/python26 maintenance.py weekly
5,15 * * * * root cd /data/amo/www/addons.mozilla.org-preview/bin; php -f maintenance.php reviews
15,45 * * * * root cd /data/amo/www/addons.mozilla.org-preview/bin; php -f maintenance.php ratings
16,46 * * * * root cd /data/amo/www/addons.mozilla.org-preview/bin; php -f maintenance.php user_ratings
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.