ClockOrbit

Weekly

0 0 * * 1-5

Run Monday to Friday at midnight.

This preview is live: the table below shows the actual next run times for 0 0 * * 1-5 in your time zone, recomputed in your browser. Change the expression, dialect, or zone to experiment, then copy the result.

Next runs
valid
Upcoming runs
Sun, Nov 8 2026
00:00 UTC
in 35 hours
Mon, Nov 9 2026
00:00 UTC
in 2 days
Tue, Nov 10 2026
00:00 UTC
in 3 days
Wed, Nov 11 2026
00:00 UTC
in 4 days
Thu, Nov 12 2026
00:00 UTC
in 5 days
Fri, Nov 13 2026
00:00 UTC
in 6 days
Sun, Nov 15 2026
00:00 UTC
in 8 days
Mon, Nov 16 2026
00:00 UTC
in 9 days
Tue, Nov 17 2026
00:00 UTC
in 10 days
Wed, Nov 18 2026
00:00 UTC
in 11 days
Thu, Nov 19 2026
00:00 UTC
in 12 days
Fri, Nov 20 2026
00:00 UTC
in 13 days
Sun, Nov 22 2026
00:00 UTC
in 15 days
Mon, Nov 23 2026
00:00 UTC
in 16 days
Tue, Nov 24 2026
00:00 UTC
in 17 days
Wed, Nov 25 2026
00:00 UTC
in 18 days
Thu, Nov 26 2026
00:00 UTC
in 19 days
Fri, Nov 27 2026
00:00 UTC
in 20 days
Sun, Nov 29 2026
00:00 UTC
in 22 days
Mon, Nov 30 2026
00:00 UTC
in 23 days
Tue, Dec 1 2026
00:00 UTC
in 24 days
Wed, Dec 2 2026
00:00 UTC
in 25 days
Thu, Dec 3 2026
00:00 UTC
in 26 days
Fri, Dec 4 2026
00:00 UTC
in 27 days
Sun, Dec 6 2026
00:00 UTC
in 29 days

What 0 0 * * 1-5 means

0 0 * * 1-5 uses a day-of-week range, 1-5, to fire only Monday through Friday, skipping the weekend entirely. The midnight time here is incidental; the point of this pattern is the weekday filter, which you combine with whatever hour you actually need.

Weekday-only scheduling is everywhere in business automation: anything that should not run on Saturday or Sunday because nobody is around to act on it, or because the upstream systems are themselves closed at weekends.

Field-by-field breakdown

Unix cron has five fields. Here is what each one is doing in this expression:

FieldValueMeaning
Minute0minute = 0
Hour0hour = 0
Day of month*every day-of-month
Month*every month
Day of week1-5the range 1-5 (inclusive) of day-of-week

Every weekday in every scheduler

The same cadence written for the seven cron dialects you are most likely to meet. Copy the line for the system you target, the field count and day-of-week numbering differ between them.

SchedulerExpressionCopy
Unix / crontab0 0 * * 1-5
GitHub Actions0 0 * * 1-5
Kubernetes CronJob0 0 * * 1-5
Vercel Cron0 0 * * 1-5
Quartz0 0 0 ? * 1-5 *
Spring0 0 0 ? * 1-5
AWS EventBridge0 0 ? * 1-5 *

When you would use 0 0 * * 1-5

The gotcha worth knowing

1-5 skips weekends but not public holidays. For a true "working day" schedule you still need a holiday check in the job, because cron cannot model a national holiday calendar.

People also search for

cron every weekday0 0 * * 1-5crontab monday to fridaycron weekdays only

0 0 * * 1-5 FAQ

What does the cron expression 0 0 * * 1-5 mean?

0 0 * * 1-5 means: Run Monday to Friday at midnight. 0 0 * * 1-5 uses a day-of-week range, 1-5, to fire only Monday through Friday, skipping the weekend entirely. The midnight time here is incidental; the point of this pattern is the weekday filter, which you combine with whatever hour you actually need.

How do I write "every weekday" in GitHub Actions?

Use 0 0 * * 1-5 in the schedule's cron field. 1-5 skips weekends but not public holidays. For a true "working day" schedule you still need a holiday check in the job, because cron cannot model a national holiday calendar.

How do I write "every weekday" for AWS EventBridge?

EventBridge uses six fields with a required year and a ? placeholder in one day field: 0 0 ? * 1-5 *. Wrap it as cron(0 0 ? * 1-5 *) in the console or CloudFormation.

What is the Quartz equivalent of 0 0 * * 1-5?

Quartz is seconds-first with a trailing year, so the equivalent is 0 0 0 ? * 1-5 *. Remember Quartz numbers Sunday as 1, the opposite of Unix.

Related cron patterns

More cron tools

Browse the full set of cron pattern pages, or jump to the interactive tools: the cron expression builder for designing a schedule from scratch, the cron cheat sheet for a side-by-side reference, the cron timezone translator for moving a schedule between zones and dialects, and the GitHub Actions cron picker for DST-stable CI schedules.