---
title: "Cron expression 0 0 1 * * meaning"
url: "https://cronmissed.com/cron/first-day-of-the-month.md"
canonical_url: "https://cronmissed.com/cron/first-day-of-the-month"
last_updated: "2026-11-10"
type: "reference"
summary: "Cron 0 0 1 * * runs at midnight on the first day of every month. What it means, its next runs, other schedulers and monitoring."
related: ["https://cronmissed.com/cron.md", "https://cronmissed.com/cron/monthly.md", "https://cronmissed.com/cron/every-15th-of-the-month.md", "https://cronmissed.com/cron/first-and-15th-of-the-month.md", "https://cronmissed.com/tools/cron-explainer.md"]
---

# Cron expression 0 0 1 * * meaning

> **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 * * runs at midnight on the first day of every month. What it means, its next runs, other schedulers and monitoring.

`0 0 1 * *`: At 00:00, on day 1 of the month.

## What does 0 0 1 * * mean?

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

## How often does it run?

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

## When is this schedule useful?

Monthly billing, invoice generation, usage resets, and reports that close out the previous month.

## What should you watch out for?

Plain cron does not catch up on a run it missed while the machine was off, so a server down at midnight on the 1st skips the month. A check alerts when that happens.

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

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

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

```crontab
0 0 1 * * /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 monthly schedules

- [@monthly](https://cronmissed.com/cron/monthly.md): `@monthly`
- [15th of every month](https://cronmissed.com/cron/every-15th-of-the-month.md): `0 0 15 * *`
- [1st and 15th of the month](https://cronmissed.com/cron/first-and-15th-of-the-month.md): `0 0 1,15 * *`
- [Every other day](https://cronmissed.com/cron/every-other-day.md): `0 0 */2 * *`

## Related

- [Cron expression and crontab examples](https://cronmissed.com/cron.md)
- [Cron @monthly explained: when it runs](https://cronmissed.com/cron/monthly.md)
- [Cron 15th of every month: 0 0 15 * *](https://cronmissed.com/cron/every-15th-of-the-month.md)
- [Cron 1st and 15th of the month: 0 0 1,15 * *](https://cronmissed.com/cron/first-and-15th-of-the-month.md)
- [Cron expression translator and evaluator](https://cronmissed.com/tools/cron-explainer.md)
