---
title: "Cron every Sunday at midnight: 0 0 * * 0"
url: "https://cronmissed.com/cron/every-sunday-at-midnight.md"
canonical_url: "https://cronmissed.com/cron/every-sunday-at-midnight"
last_updated: "2026-10-22"
type: "reference"
summary: "Cron 0 0 * * 0 runs every Sunday at midnight. What it means, its next runs, Sunday as 0 or 7, and how to monitor it."
related: ["https://cronmissed.com/cron.md", "https://cronmissed.com/cron/every-saturday-at-midnight.md", "https://cronmissed.com/cron/every-sunday-at-3am.md", "https://cronmissed.com/cron/every-friday-at-5pm.md", "https://cronmissed.com/tools/cron-explainer.md"]
---

# Cron every Sunday at midnight: 0 0 * * 0

> **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 * * 0 runs every Sunday at midnight. What it means, its next runs, Sunday as 0 or 7, and how to monitor it.

`0 0 * * 0`: At 00:00, on Sunday.

## What does 0 0 * * 0 mean?

| Field | Written | Means |
| --- | --- | --- |
| minute | `0` | 0 |
| hour | `0` | 0 |
| day of month | `*` | every day of month |
| month | `*` | every month |
| day of week | `0` | Sunday |

## How often does it run?

On a day it runs, it runs once. It runs on 52 days of 2027, 52 runs in all. Runs are 7 days apart.

## When is this schedule useful?

Weekly rollovers: closing a week of usage data, rotating weekly logs, or starting a week of reports.

## What should you watch out for?

Unix cron reads both 0 and 7 as Sunday, but Kubernetes refuses 7, and Quartz and EventBridge call Sunday 1.

## 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 * * 0`
- **GitHub Actions:** `0 0 * * 0`
- **Vercel Cron:** `0 0 * * 0`
- **Quartz:** `0 0 0 ? * SUN`
- **Spring @Scheduled:** `0 0 0 * * SUN`
- **AWS EventBridge:** `cron(0 0 ? * SUN *)`
- **systemd OnCalendar:** `Sun *-*-* 00:00:00`

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

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

```crontab
0 0 * * 0 /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 Saturday at midnight](https://cronmissed.com/cron/every-saturday-at-midnight.md): `0 0 * * 6`
- [Every Sunday at 3am](https://cronmissed.com/cron/every-sunday-at-3am.md): `0 3 * * 0`
- [Every Friday at 5pm](https://cronmissed.com/cron/every-friday-at-5pm.md): `0 17 * * 5`
- [@weekly](https://cronmissed.com/cron/weekly.md): `@weekly`
- [Every Thursday at 9am](https://cronmissed.com/cron/every-thursday-at-9am.md): `0 9 * * 4`
- [Every Wednesday at 9am](https://cronmissed.com/cron/every-wednesday-at-9am.md): `0 9 * * 3`

## Related

- [Cron expression and crontab examples](https://cronmissed.com/cron.md)
- [Cron every Saturday at midnight: 0 0 * * 6](https://cronmissed.com/cron/every-saturday-at-midnight.md)
- [Cron every Sunday at 3am: 0 3 * * 0](https://cronmissed.com/cron/every-sunday-at-3am.md)
- [Cron every Friday at 5pm: 0 17 * * 5](https://cronmissed.com/cron/every-friday-at-5pm.md)
- [Cron expression translator and evaluator](https://cronmissed.com/tools/cron-explainer.md)
