Merge ~ines-almeida/launchpad:update-ftpmaster-generate-content-cron-start into launchpad:master

Proposed by Ines Almeida
Status: Merged
Approved by: Ines Almeida
Approved revision: 59feb7fb1ac2bee4ec3c1a2a077728a042820778
Merge reported by: Otto Co-Pilot
Merged at revision: not available
Proposed branch: ~ines-almeida/launchpad:update-ftpmaster-generate-content-cron-start
Merge into: launchpad:master
Diff against target: 13 lines (+1/-1)
1 file modified
charm/launchpad-ftpmaster-publisher/templates/crontab.j2 (+1/-1)
Reviewer Review Type Date Requested Status
Simone Pelosi Approve
Review via email: mp+462433@code.launchpad.net

Commit message

charm: update ftpmaster-publisher genrate-content cron script to run earlier

This is relevant because currently this job runs during most Launchpad developer's working hours, and can block DB deployments.
Updating the start time of the script to start daily at 9pm instead of 4am

Description of the change

This change was manually applied in production last week.

To post a comment you must log in.
Revision history for this message
Simone Pelosi (pelpsi) wrote :

LGTM!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/charm/launchpad-ftpmaster-publisher/templates/crontab.j2 b/charm/launchpad-ftpmaster-publisher/templates/crontab.j2
2index 87b4237..2cb676c 100644
3--- a/charm/launchpad-ftpmaster-publisher/templates/crontab.j2
4+++ b/charm/launchpad-ftpmaster-publisher/templates/crontab.j2
5@@ -5,7 +5,7 @@ LPCONFIG=launchpad-ftpmaster-publisher
6
7 {% if active -%}
8 03-58/5 * * * * umask 022; {{ code_dir }}/cronscripts/publish-ftpmaster.py -v -d ubuntu >> {{ logs_dir }}/publish-ftpmaster.log 2>&1
9-02 4 * * * {{ code_dir }}/cronscripts/generate-contents-files.py -v --distribution=ubuntu >> {{ logs_dir }}/generate-contents-files.log 2>&1
10+02 21 * * * {{ code_dir }}/cronscripts/generate-contents-files.py -v --distribution=ubuntu >> {{ logs_dir }}/generate-contents-files.log 2>&1
11
12 # cprov 2008-02-07: parallel run of death-row, at :10 it will run simultaneously with apt-ftparchive.
13 10 */6 * * * {{ code_dir }}/scripts/process-death-row.py -d ubuntu -q --log-file=DEBUG:{{ logs_dir }}/process-death-row.log

Subscribers

People subscribed via source and target branches

to status/vote changes: