user3759870
user3759870

Reputation: 73

How to schedule Jenkins job every Hour for the next 12 hours

I would like to schedule Jenkins job for example every hour between 9 am to 9 pm.

* 1/12 * * * 

is not working.

Upvotes: 0

Views: 6218

Answers (2)

Anand
Anand

Reputation: 1

TO make it run every 12 hours once, H */12 * * *

Upvotes: 0

Darko
Darko

Reputation: 36

Jenkins uses Cron expressions for scheduling. You can see details in answer to linked question in the comments.

Answer to your question would be H 9-21 * * *

Upvotes: 2

Related Questions