Cron Expression: Monday to Friday at 9am
The expression is 0 9 * * 1-5. Paste it above to read it in English and see the next five weekday runs locally. Below: how the day-of-week numbers work and the Sunday gotcha.
The expression
0 9 * * 1-5 runs a job at 09:00 on weekdays — Monday through Friday — and does not run on Saturday or Sunday.
Field by field
0 minute and 9 hour give 09:00. The day-of-month and month stay *. 1-5 in the day-of-week field means Monday (1) through Friday (5).
How cron numbers the days
Day-of-week runs 0–6 where 0 is Sunday, 1 is Monday … 6 is Saturday. So 1-5 is Mon–Fri. Many crons also accept 7 for Sunday and three-letter names like MON-FRI. Note that 0 and 7 both mean Sunday.
Common variations
Weekdays at 6pm: 0 18 * * 1-5. Weekends only at 9am: 0 9 * * 6,0. Every weekday every 30 minutes: */30 * * * 1-5.
FAQ
What number is Monday in cron?
1. Cron numbers the week 0–6 starting at Sunday (0), so Monday is 1 and Friday is 5.
How do I run a job every weekday at 9am?
Use 0 9 * * 1-5 — 09:00, Monday through Friday, skipping the weekend.
Can I write the days as names instead of numbers?
Most modern crons accept 0 9 * * MON-FRI, which is equivalent to 0 9 * * 1-5.