Update frequency of careers-prod syncjobvite cron job

RESOLVED FIXED

Status

RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: mkelly, Assigned: cliang)

Tracking

Details

(Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/29] )

(Reporter)

Description

4 years ago
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

4 years ago
Whiteboard: [kanban:https://kanbanize.com/ctrl_board/4/4180]
(Assignee)

Updated

4 years ago
Assignee: server-ops-webops → cliang
(Assignee)

Comment 1

4 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

4 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

4 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.

Updated

4 years ago
Whiteboard: [kanban:https://kanbanize.com/ctrl_board/4/4180] → [kanban:https://webops.kanbanize.com/ctrl_board/2/29]
(Assignee)

Comment 4

4 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
Last Resolved: 4 years ago
Resolution: --- → FIXED
(Reporter)

Comment 5

4 years ago
Woooo, thanks!
You need to log in before you can comment on or make changes to this bug.