0 8 * * 1-5 — what this cron expression means
The cron expression 0 8 * * 1-5 runs 8 AM on weekdays. Here is the field-by-field breakdown and what it means in plain English.
What 0 8 * * 1-5 means
It runs at 8:00 AM, Monday to Friday, and never on weekends.
Field by field
minute=0, hour=8, day/month *, day-of-week=1-5 (Mon–Fri, inclusive).
Once per workday at 08:00 — five runs a week.
When it runs next
Next run: the next matching time for 0 8 * * 1-5.
FAQ
What does 0 8 * * 1-5 mean?
Run at 8:00 AM every weekday, Monday through Friday; nothing on Saturday or Sunday.
Does 1-5 include Friday?
Yes. In cron 0=Sunday, so 1-5 is Monday through Friday inclusive.