Closed
Bug 773835
Opened 12 years ago
Closed 12 years ago
New cron job list for Mobeta
Categories
(Socorro :: Backend, task)
Socorro
Backend
Tracking
(Not tracked)
RESOLVED
FIXED
18
People
(Reporter: jberkus, Assigned: rhelmer)
References
Details
(Whiteboard: [mobeta][qa-])
Attachments
(1 file)
(deleted),
text/plain
|
Details |
Post-mobeta, the list of Matview cronjobs will completely change. We'll be getting rid of the OldTCBS cron jobs, and adding a bunch of new ones.
See the attached CSV file. This should be the complete list of matview-related cron jobs in the system (it does not include things like ftpscraper). Note that while I have update_adu and update_build_adu listed as "daily", crontabber should actually run them hourly.
FWIW, this CSV is going to become a table in the Postgres database for 19.0.
Assignee | ||
Updated•12 years ago
|
Attachment #642107 -
Attachment mime type: application/octet-stream → text/plain
Comment 1•12 years ago
|
||
So something like:
for each in (SELECT proc_name, needs_date, backfill_days FROM all_matviews):
cursor.proc_call(...
That would make it really convenient.
However, we could also put the CSV file inside the socorro/cron/jobs/ directory and an app could load it in. That way we can control the ins and outs of matviews with git and stuff.
Reporter | ||
Comment 2•12 years ago
|
||
Peter: sure. I need it in a table for my backfiller, but there's no reason we couldn't sync that to a CSV file periodically.
Assignee | ||
Updated•12 years ago
|
Target Milestone: --- → 18
Assignee | ||
Comment 3•12 years ago
|
||
peterbe, r? https://github.com/mozilla/socorro/pull/739
Status: NEW → ASSIGNED
Reporter | ||
Comment 4•12 years ago
|
||
So, given that we can't count on crontabber being ready for mobeta, we should create an old-style cronjob change set which covers the post-mobeta jobs. Rhelmer?
Reporter | ||
Comment 5•12 years ago
|
||
Oh, btw, note that my list does NOT include the bugzilla cron job.
Assignee | ||
Comment 6•12 years ago
|
||
(In reply to [:jberkus] Josh Berkus from comment #4)
> So, given that we can't count on crontabber being ready for mobeta, we
> should create an old-style cronjob change set which covers the post-mobeta
> jobs. Rhelmer?
Yep, let's get the crontabber change landed (we'll need it later) and I'll work on getting ye olde cron going.
Assignee | ||
Comment 7•12 years ago
|
||
OK here are the equivalent changes for the old cron:
https://github.com/mozilla/socorro/pull/773
Comment 8•12 years ago
|
||
Commits pushed to master at https://github.com/mozilla/socorro
https://github.com/mozilla/socorro/commit/9574fb7ab57ae1353348f4c0362345a73155b206
bug 773835 - new matviews and dependencies
https://github.com/mozilla/socorro/commit/5ead17f0560af5398025dd4af3ca227c75fc9a0b
bug 773835 - fixes to obsolete dependencies and more verbose logging on mismatching dependencies
Comment 9•12 years ago
|
||
Commits pushed to master at https://github.com/mozilla/socorro
https://github.com/mozilla/socorro/commit/9a5f4d718dd6f34e5243f9ab7c25375707648ecb
bug 773835 - cronjob changes for mobeta
https://github.com/mozilla/socorro/commit/72c87258eec12a5b84e12edfe944a5245e2aa1ad
Merge pull request #773 from rhelmer/bug773835-mobeta-oldcron
bug 773835 - cronjob changes for mobeta
Updated•12 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Whiteboard: [mobeta] → [mobeta][qa-]
Assignee | ||
Updated•12 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•