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)

task
Not set
normal

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?
Whiteboard: [kanban:https://kanbanize.com/ctrl_board/4/4180]
Assignee: server-ops-webops → cliang
@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)
(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)
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]
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
Woooo, thanks!
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.