---
title: "Cron every weekday at midnight: 0 0 * * 1-5"
url: "https://cronmissed.com/cron/every-weekday-at-midnight.md"
canonical_url: "https://cronmissed.com/cron/every-weekday-at-midnight"
last_updated: "2026-10-22"
type: "reference"
summary: "Cron 0 0 * * 1-5 runs at midnight Monday to Friday. What it means, when it runs next, versions for other schedulers and alerts."
related: ["https://cronmissed.com/cron.md", "https://cronmissed.com/cron/every-weekday-at-9am.md", "https://cronmissed.com/cron/every-weekday-at-6pm.md", "https://cronmissed.com/cron/every-5-minutes-on-weekdays.md", "https://cronmissed.com/tools/cron-explainer.md"]
---

# Cron every weekday at midnight: 0 0 * * 1-5

> **For AI agents:** the complete index of CronMissed pages is [llms.txt](https://cronmissed.com/llms.txt). Every page is also served as markdown at its URL plus .md.

Cron 0 0 * * 1-5 runs at midnight Monday to Friday. What it means, when it runs next, versions for other schedulers and alerts.

`0 0 * * 1-5`: At 00:00, on Monday through Friday.

## What does 0 0 * * 1-5 mean?

| Field | Written | Means |
| --- | --- | --- |
| minute | `0` | 0 |
| hour | `0` | 0 |
| day of month | `*` | every day of month |
| month | `*` | every month |
| day of week | `1-5` | Monday through Friday |

## How often does it run?

On a day it runs, it runs once. It runs on 261 days of 2027, 261 runs in all. The gap between runs is not constant: it varies from 1 day to 3 days.

## When is this schedule useful?

Nightly jobs that only make sense after a working day: closing the books, clearing a work queue, or billing runs.

## What should you watch out for?

Midnight on Monday is the start of Monday, so this runs at the end of Sunday's evening, not Monday's. For runs after each workday use 0 0 * * 2-6.

## What happens when the clocks change?

On Sunday 14 March 2027, clocks in America/New_York jump from 02:00 to 03:00. This schedule does not run that day, so the change does not touch it.

On Sunday 1 November 2026, clocks in America/New_York fall back from 02:00 to 01:00, so the hour from 01:00 happens twice. This schedule does not run that day, so the change does not touch it.

A server that keeps its clock on UTC never sees either change.

## How do you write it for other schedulers?

- **Kubernetes CronJob:** `0 0 * * 1-5`
- **GitHub Actions:** `0 0 * * 1-5`
- **Vercel Cron:** `0 0 * * 1-5`
- **Quartz:** `0 0 0 ? * MON-FRI`
- **Spring @Scheduled:** `0 0 0 * * MON-FRI`
- **AWS EventBridge:** `cron(0 0 ? * MON-FRI *)`
- **systemd OnCalendar:** `Mon..Fri *-*-* 00:00:00`

## How do you get an alert when it stops running?

Create a cron check with the schedule 0 0 * * 1-5 and 5 minutes of grace, and ping it at the end of the job:

```crontab
0 0 * * 1-5 /usr/local/bin/job.sh && curl -fsS --max-time 10 --retry 5 --retry-connrefused -o /dev/null "https://ping.cronmissed.com/5f0c1b2e-7a3d-4c8e-9b61-2d4f8a7e3c10"
```

The [snippet builder](https://cronmissed.com/tools/snippet-builder.md) writes the same ping for systemd, GitHub Actions, Vercel, Kubernetes and backup scripts.

## More weekdays, weekends and weekly schedules

- [Every weekday at 9am](https://cronmissed.com/cron/every-weekday-at-9am.md): `0 9 * * 1-5`
- [Every weekday at 6pm](https://cronmissed.com/cron/every-weekday-at-6pm.md): `0 18 * * 1-5`
- [Every 5 minutes on weekdays](https://cronmissed.com/cron/every-5-minutes-on-weekdays.md): `*/5 * * * 1-5`
- [Every weekend day at 10am](https://cronmissed.com/cron/every-weekend-at-10am.md): `0 10 * * 6,0`
- [Every weekend day at midnight](https://cronmissed.com/cron/every-weekend-at-midnight.md): `0 0 * * 6,0`
- [Every Monday at 9am](https://cronmissed.com/cron/every-monday-at-9am.md): `0 9 * * 1`

## Related

- [Cron expression and crontab examples](https://cronmissed.com/cron.md)
- [Cron expression 0 9 * * 1-5 meaning](https://cronmissed.com/cron/every-weekday-at-9am.md)
- [Cron every weekday at 6pm: 0 18 * * 1-5](https://cronmissed.com/cron/every-weekday-at-6pm.md)
- [Cron every 5 minutes on weekdays: */5 * * * 1-5](https://cronmissed.com/cron/every-5-minutes-on-weekdays.md)
- [Cron expression translator and evaluator](https://cronmissed.com/tools/cron-explainer.md)
