Reduce frequency of TBPL's import-buildbot-data.py cron job

RESOLVED FIXED

Status

--
minor
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: emorley, Assigned: cliang)

Tracking

Details

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

(Reporter)

Description

4 years ago
Since TBPL is nearing end of life, and the number of people using it is low - we'd like to reduce the frequency of the cron job that runs dataimport/import-buildbot-data.py to save resources.

The cron is currently set for 5 mins, let's bump that to every 10 mins for dev/prod (we don't have a working stage).

https://mana.mozilla.org/wiki/display/websites/tbpl.mozilla.org says this script is at (for prod at least):
/data/genericrhel6/src/tbpl.mozilla.org/tbpl/dataimport/import-buildbot-data.py

Thanks :-)
(Assignee)

Updated

4 years ago
Whiteboard: [kanban:https://kanbanize.com/ctrl_board/4/4185]

Updated

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

Updated

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

Comment 1

4 years ago
I've turned down the frequency of the cron job and (for the past 45 minutes) there have been no complaints. 

$ svn commit -m "Change TBPL cron job frequency (BZ 1120234)"
Sending        modules/webapp/files/genericrhel6/admin/etc-cron.d/tbpl.mozilla.org
Transmitting file data .
Committed revision 99078.
Status: NEW → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
(Reporter)

Comment 2

4 years ago
Thank you :-)

Is this on dev too? If not, would you mind making the same change there?
(Assignee)

Comment 3

4 years ago
Done. =)

$ svn commit -m "Change TBPL cron job frequency (dev) (BZ 1120234)"
Sending        modules/webapp/files/genericrhel6/admin/etc-cron.d/tbpl-dev.allizom.org
Transmitting file data .
Committed revision 99089.
(Reporter)

Comment 4

4 years ago
That's great, thank you :-)
You need to log in before you can comment on or make changes to this bug.