Run a Cron Job Every Weekday at 8 AM
To run a job every weekday at 8 AM, use 0 8 * * 1-5. The 1-5 range is Monday through Friday, so it skips weekends.
The expression
0 8 * * 1-5 runs at 08:00 Monday through Friday. The day-of-week range 1-5 is Mon–Fri; weekends (0/6) are skipped.
Change the time
8:30 AM on weekdays is 30 8 * * 1-5; 9 AM is 0 9 * * 1-5.
Business-hours variants
Every hour during the workday: 0 9-17 * * 1-5. Every 30 minutes in business hours: */30 9-17 * * 1-5.
FAQ
What is the cron expression for every weekday at 8 AM?
0 8 * * 1-5 runs at 8:00 AM Monday through Friday and skips weekends.
How does the 1-5 range work?
Day-of-week 1 is Monday and 5 is Friday, so 1-5 covers the five workdays.
How do I run hourly during business hours?
Use 0 9-17 * * 1-5 to run at the top of each hour from 9 AM to 5 PM on weekdays.