0

I am using jenkins along with the build flow plug-in. I would like my project built at precise times, but jenkins seems to only run on a schedule that is relative to the time the schedule is applied.

I want the project to build at precisely 4:00,8:00,12:00,16:00,20:00,00:00.

both "00 */4 * * *" and "01 0,4,8,12,16,20 * * *" fail to start the job at the precise times specified.

"00 */4 * * *" seems to really mean "00 */4 * * * + now"

I want my scheduled downtimes to be predictably scheduled, instead of starting at 8:38 because thats when I enabled the job.

daspilker
  • 8,154
  • 1
  • 35
  • 49
Rick
  • 426
  • 3
  • 8
  • I had a build set to `40 * * * *` and it started how I expected it in a 1minute time frame. Did you try `0 */4 * * *`? I will give it another try but have to wait 20 more minutes... – volker Feb 11 '15 at 20:42
  • `0 * * * *` as well as `05 * * * *` triggered a test build. Didn't try "00". – volker Feb 11 '15 at 21:10
  • is how you expected 40 minutes from now or every hour at the 40th minute? – Rick Feb 11 '15 at 21:24
  • yes. it run in the above examples at 41 past, 1 past and 6past. – volker Feb 12 '15 at 16:32
  • I ran `00 */4 * * *` over the last 12 hours and it worked as expected. It ran 8:01 AM, 4:01 AM , 12:01 AM, 8:01 PM – volker Feb 12 '15 at 16:33

0 Answers0