Skip to content

Instantly share code, notes, and snippets.

@LenarBad
Last active June 1, 2018 19:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LenarBad/4450adf1e71d2c703ffd2ef42bb691d0 to your computer and use it in GitHub Desktop.
Save LenarBad/4450adf1e71d2c703ffd2ef42bb691d0 to your computer and use it in GitHub Desktop.
Jenkins build periodically

Build every hour:
H * * * *

Build every 20 minutes:
H/20 * * * *

Build every 20 minutes 2am to 11pm:
H/20 5-23 * * *

Build every 20 minutes, work time/days (8am-6pm, MON-FRI) only:
H/20 8-18 * * 1-5

Build every hour MON-WED and FRI only:
H * * * 1-3,5

Build every hour, weekends in April and December:
H * * 4,12 *

Build at 8.30am on July 4:
30 8 4 7 *

Also: @hourly, @daily, @weekly, @monthly, @midnight

@LenarBad
Copy link
Author

LenarBad commented Jun 1, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment