Cron Expression: Weekdays at 5pm
The expression is 0 17 * * 1-5. Paste it above to read it in English and preview the next run times. Below: field-by-field and how time zones affect it.
The expression
0 17 * * 1-5 runs a job at 17:00 (5pm), Monday through Friday — the classic end-of-workday slot.
Field by field
0 minute, 17 hour (5pm = 12 + 5), * * for every day-of-month and month, and 1-5 in the weekday field = Monday(1) through Friday(5).
Weekday numbering
Cron weekdays are 0–6 with Sunday=0. Monday–Friday is the range 1-5. Both 0 and 7 mean Sunday, so weekends are days 0/6.
Time zones
5pm is the server's local 17:00. On a UTC host, 0 17 * * 1-5 fires at 17:00 UTC — set CRON_TZ to match your office hours.
Common variations
Weekdays at 9am (start of day): 0 9 * * 1-5. Every weekday at 5:30pm: 30 17 * * 1-5. Monday, Wednesday, Friday at 5pm: 0 17 * * 1,3,5.
FAQ
What does 1-5 mean in the weekday field?
Monday through Friday. Cron numbers weekdays 0–6 with Sunday=0, so 1-5 is Mon–Fri.
How do I run at 5pm including Saturday?
Use 0 17 * * 1-6 to cover Monday through Saturday.
Why 17 and not 5?
Cron uses a 24-hour clock. 5pm is 17:00, so the hour field is 17.