Closed
Bug 1119536
Opened 9 years ago
Closed 9 years ago
Update frequency of careers-prod syncjobvite cron job
Categories
(Infrastructure & Operations Graveyard :: WebOps: Other, task)
Infrastructure & Operations Graveyard
WebOps: Other
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: osmose, Assigned: cliang)
References
Details
(Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/29] )
careers.mozilla.org has a cronjob running that downloads the latest job data from Jobvite using the command `manage.py syncjobvite`. Could we update the frequency of that cron job to run once every 3 minutes?
Assignee | ||
Updated•9 years ago
|
Whiteboard: [kanban:https://kanbanize.com/ctrl_board/4/4180]
Assignee | ||
Updated•9 years ago
|
Assignee: server-ops-webops → cliang
Assignee | ||
Comment 1•9 years ago
|
||
@mkelly: A couple of quick questions: 1) Right now the job is set to run every thirty minutes. Will Bad Things (tm) happen if more than syncjobvite job is running at the same time? 2) It looks like dev, stage, and prod all run this job. Should be the job frequency be increased in any of the other environments (i.e. stage)?
Flags: needinfo?(mkelly)
Reporter | ||
Comment 2•9 years ago
|
||
(In reply to C. Liang [:cyliang] from comment #1) > @mkelly: A couple of quick questions: > > 1) Right now the job is set to run every thirty minutes. Will Bad Things > (tm) happen if more than syncjobvite job is running at the same time? Possibly! Is it possible/difficult to have the cronjob skip running if the previous run is still ongoing? > 2) It looks like dev, stage, and prod all run this job. Should be the job > frequency be increased in any of the other environments (i.e. stage)? Yep!
Flags: needinfo?(mkelly)
Assignee | ||
Comment 3•9 years ago
|
||
I'm hoping that the use of flock will prevent multiple jobs from running. The cron job now set to run every three minutes in dev and stage. If nothing untoward happens in the next couple of days, I'll set the production job to run on the same cycle.
Whiteboard: [kanban:https://kanbanize.com/ctrl_board/4/4180] → [kanban:https://webops.kanbanize.com/ctrl_board/2/29]
Assignee | ||
Comment 4•9 years ago
|
||
Yesterday, I updated the syncjobvite job frequency in production to match dev and staging. Since there have been no complaints, it looks like the increased frequency isn't causing unwanted side effects. =) ------------------------------------------------------------------------ r99150 | cliang@mozilla.com | 2015-01-14 17:26:38 -0600 (Wed, 14 Jan 2015) | 1 line Change how often the careers.mozilla.org syncjobvite job runs (prod) (BZ 1119536)
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 5•9 years ago
|
||
Woooo, thanks!
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
•