This expression will
run cron every hour, between 09:00 and 17:00, Monday through Friday
0 | 9-17 | * | * | 1-5 | |
|---|---|---|---|---|---|
| Day of the week (0 - 7) [Both 0 and 7 represent Sunday] | |||||
| Month (1 - 12) | |||||
| Day of the month (1 - 31) | |||||
| Hour (0 - 23) | |||||
| Minute (0 - 59) | |||||
- Asterisk (*) means "any" or "every".
an asterisk in the minute field means "every minute". - Comma (,) can be used to specify multiple values.
"1,15" in the minute field means "at 1 and 15 minutes past the hour". - Hyphen (-) defines a range.
"1-5" in the hour field means "every hour between 1am and 5am". - Slash (/) specifies increments.
"*/15" in the minute field would indicate "every 15 minutes".
Next scheduled times:
- Mon, Jan 12, 2026, 14:00:00in 23 minutes
- Mon, Jan 12, 2026, 15:00:00in 1 hour
- Mon, Jan 12, 2026, 16:00:00in 2 hours