Closed Bug 780290 Opened 12 years ago Closed 12 years ago

[crontabber] daily jobs with hour to not start eagerly on bootstrapping

Categories

(Socorro :: General, task)

x86
macOS
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: peterbe, Unassigned)

Details

If you add a new job at 08:00 UTC to the code and config, e.g. 

  socorro.cron.jobs.foo.BarJob|1d|10:00

Then, at the moment, as soon as you make this change to crontabber.ini the job will be run even though it hasn't become 10:00 UTC yet on the day it's added. 

Generally it's not a problem. The first run will be "today 08:00" and the next one will "today+1 10:00" and the one after that "today+2 10:00" etc.
Commit pushed to master at https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/9ceae0b321649211480d9f2013ef3f9d5e6628cf
bug780290 - crontabber un-eager start on time specific jobs, r=rhelmer
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.