Cron Every Weekday at 8 AM
Schedule a cron job every weekday at 8 AM using 0 8 * * 1-5. Detailed field breakdown, business-hours scheduling examples, and practical tips.
Cron Expression
0 8 * * 1-5
Field Breakdown
| Field | Value | Meaning |
|---|---|---|
| Minute | 0 | At 0 |
| Hour | 8 | At 8 |
| Day of Month | * | Every day of the month (1–31) |
| Month | * | Every month (1–12) |
| Day of Week | 1-5 | From Monday to Friday |
Detailed Explanation
The cron expression 0 8 * * 1-5 schedules a task to run every weekday (Monday through Friday) at 8:00 AM.
Field-by-field breakdown:
0(Minute): At minute 0. The task fires at the start of the hour.8(Hour): At hour 8 (8 AM). The task runs at the start of business hours.*(Day of Month): Every day from 1 through 31. No restriction on the day of the month.*(Month): Every month from January through December. No restriction on the month.1-5(Day of Week): Monday through Friday. The range covers all five business days.
This means your task will execute 5 times per week, once at 8:00 AM on each business day. This is a cornerstone schedule for business automation, running tasks just before most employees start their workday. It ensures that morning reports, dashboards, and notifications are ready when the team arrives. This schedule skips weekends entirely, conserving resources and avoiding unnecessary processing. This expression is supported by standard cron on Linux/macOS, as well as cloud services like AWS CloudWatch, Google Cloud Scheduler, and GitHub Actions.
Use Case
Commonly used for pulling overnight sales data and generating morning revenue reports that greet the sales team at the start of each business day.
Try It — Interactive Builder
Every weekday at 8:00 AM
Next 10 Executions
Ctrl+Shift+C to copy expression