Cron Every Weekday

Run a cron job every weekday (Monday through Friday) at midnight using 0 0 * * 1-5. Full field breakdown and business scheduling examples.

Cron Expression

0 0 * * 1-5

Field Breakdown

FieldValueMeaning
Minute0At 0
Hour0At 0
Day of Month*Every day of the month (1–31)
Month*Every month (1–12)
Day of Week1-5From Monday to Friday

Detailed Explanation

The cron expression 0 0 * * 1-5 schedules a task to run once per day on weekdays only, at midnight.

Field-by-field breakdown:

  • 0 (Minute): At minute 0. The task fires at the start of the hour.
  • 0 (Hour): At hour 0 (midnight). The task runs at the beginning of each weekday.
  • * (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 1-5 covers all five business days, excluding Saturday (6) and Sunday (0).

This means your task will execute 5 times per week, once at midnight on each business day. This is one of the most important cron patterns for business applications because many automated processes only need to run during the work week. Skipping weekends conserves resources and avoids generating unnecessary data or alerts when no one is working. 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 preparing daily business intelligence reports that are only relevant during the five-day work week.

Try It — Interactive Builder

Every weekday at 12:00 AM

**/5*/10*/15*/300
**/2*/3*/6*/120
*1151,15*/2
*11,4,7,101,7
*1-50,615

Next 10 Executions

1.Mon, Mar 16, 2026, 12:00 AM
2.Tue, Mar 17, 2026, 12:00 AM
3.Wed, Mar 18, 2026, 12:00 AM
4.Thu, Mar 19, 2026, 12:00 AM
5.Fri, Mar 20, 2026, 12:00 AM
6.Mon, Mar 23, 2026, 12:00 AM
7.Tue, Mar 24, 2026, 12:00 AM
8.Wed, Mar 25, 2026, 12:00 AM
9.Thu, Mar 26, 2026, 12:00 AM
10.Fri, Mar 27, 2026, 12:00 AM

Ctrl+Shift+C to copy expression

Customize this expression