Jenkins use Cron as the schedule format. Cron contains 6 fields:
Field Meaning
1 Minute (0-59)
2 Hour (2-24)
3 Day of month (1-31)
4 Month (1-12, Jan, Feb, etc)
5 Day of week (0-6) 0 = Sunday, 1 = Monday etc or Sun, Mon, etc)
6 User that the command will run as
7 Command to execute
For example,
30 23 * * * geoffrey cucumber
means user geoffrey executes the cucumber command at 23:30pm every day,every week, every month, every year.
If we replace 30 as “20,40”, it means execute at 23:20pm and 23:40pm.