Cron: every hour, 9am–5pm on weekdays

0 9-17 * * 1-5: Every hour, between 09:00 and 17:00, Monday through Friday.

Meaning

Examples

Note

Ranges are inclusive, so this also runs at 17:00: nine runs a day. Use 9-16 to stop before 5pm.

Other common schedules

Seconds

Minutes

Hours

Days

Weeks

Months and years