Closed
Bug 529413
Opened 15 years ago
Closed 15 years ago
[AMO] Adjust timing of AMO cron jobs again please
Categories
(Infrastructure & Operations Graveyard :: WebOps: Other, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: clouserw, Assigned: oremj)
References
Details
We need to buy some time until Hudson is setup and we start doing incremental updates instead of complete updates. Please adjust the AMO cron jobs on preview and production as below, spacing out the cron jobs as much as you can. Run once an hour: php -f maintenance.php collection_stats php -f maintenance.php blog php -f update-search-views.php Run every 3 hours: php -f compatibility_report.php Run twice per day: php -f maintenance.php addons_collections_total php -f maintenance.php collections_total /usr/bin/python26 maintenance.py collections_ratings /usr/bin/python26 import-personas.py Run once per day: php -f maintenance.php reviews php -f maintenance.php ratings php -f maintenance.php gc php -f maintenance.php expired_resetcode php -f maintenance.php category_totals php -f maintenance.php collection_subscribers php -f maintenance.php user_ratings /usr/bin/python26 build-recommendations.py /usr/bin/python26 maintenance.py share_count_totals /usr/bin/python26 maintenance.py personas_adu Run once per day after 2100 PST (that's after metrics is done): /usr/bin/python26 maintenance.py total /usr/bin/python26 maintenance.py weekly php -f maintenance.php global_stats /usr/bin/python26 maintenance.py addons_adu Run once per week: php -f maintenance.php unconfirmed -------------------------------------------------- It occurs to me that storing the crontab in SVN would be a lot easier than filing these bugs. Would it be easy on your end to just run `crontab -u /data/remora/..../crontab`? If so I can cook up another bug for that.
Assignee | ||
Updated•15 years ago
|
Assignee: server-ops → jeremy.orem+bugs
Assignee | ||
Comment 1•15 years ago
|
||
This is what I have for preview: http://oremj.pastebin.mozilla.org/684487
Reporter | ||
Comment 2•15 years ago
|
||
(In reply to comment #1) > This is what I have for preview: http://oremj.pastebin.mozilla.org/684487 I think it looks great
Assignee | ||
Comment 3•15 years ago
|
||
prod == preview now.
Assignee | ||
Updated•15 years ago
|
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Component: Server Operations: Web Operations → WebOps: Other
Product: mozilla.org → Infrastructure & Operations
Updated•5 years ago
|
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•