nirav
nirav

Reputation: 77

Jenkins schedule a job every 105 minutes

I need to schedule a jenkins job to run every 90 minutes I tried the following but it did not work */45 */1 * * * But the job ran ever hour and then at every 45 minutes like

Can any one please suggest me how this is done

Upvotes: 0

Views: 1432

Answers (2)

gautham p
gautham p

Reputation: 143

In Jenkins, use this in "Build periodically" to run for every 90 mins H/30 H/2 * * *

Upvotes: 0

Mayur Nagekar
Mayur Nagekar

Reputation: 811

You may have to specify two cron jobs for it in the scheduler like this in the same jenkins job - very similar to what one would do for a normal cron in Linux

0 0,3,6,9,12,15,18,21 * * * /path/to/script
45 1,4,7,10,13,16,19,22 * * * /path/to/script

Upvotes: 1

Related Questions