---
title: "Cron every 6 months: 0 0 1 1,7 *"
url: "https://cronmissed.com/cron/every-6-months.md"
canonical_url: "https://cronmissed.com/cron/every-6-months"
last_updated: "2026-10-22"
type: "reference"
summary: "Cron 0 0 1 1,7 * runs at midnight on 1 January and 1 July. What it means, its next runs, how other schedulers write it, and alerts."
related: ["https://cronmissed.com/cron.md", "https://cronmissed.com/cron/quarterly.md", "https://cronmissed.com/cron/every-year-on-january-1.md", "https://cronmissed.com/cron/yearly.md", "https://cronmissed.com/tools/cron-explainer.md"]
---

# Cron every 6 months: 0 0 1 1,7 *

> **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 1,7 * runs at midnight on 1 January and 1 July. What it means, its next runs, how other schedulers write it, and alerts.

`0 0 1 1,7 *`: At 00:00, on day 1 of the month, in January and July.

## What does 0 0 1 1,7 * mean?

| Field | Written | Means |
| --- | --- | --- |
| minute | `0` | 0 |
| hour | `0` | 0 |
| day of month | `1` | 1 |
| month | `1,7` | January and July |
| day of week | `*` | every day of week |

## How often does it run?

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

## When is this schedule useful?

Twice-yearly tasks: rotating long-lived credentials, reviewing access, or pruning archives.

## What should you watch out for?

Jobs this rare tend to break between runs, when the code or credentials they rely on change. A start ping and a check catch a run that never 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 1,7 *`
- **GitHub Actions:** `0 0 1 1,7 *`
- **Vercel Cron:** `0 0 1 1,7 *`
- **Quartz:** `0 0 0 1 1,7 ?`
- **Spring @Scheduled:** `0 0 0 1 1,7 *`
- **AWS EventBridge:** `cron(0 0 1 1,7 ? *)`
- **systemd OnCalendar:** `*-01,07-01 00:00:00`

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

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

```crontab
0 0 1 1,7 * /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 quarterly and yearly schedules

- [Every quarter](https://cronmissed.com/cron/quarterly.md): `0 0 1 */3 *`
- [Every year on January 1](https://cronmissed.com/cron/every-year-on-january-1.md): `0 0 1 1 *`
- [@yearly](https://cronmissed.com/cron/yearly.md): `@yearly`

## Related

- [Cron expression and crontab examples](https://cronmissed.com/cron.md)
- [Cron every quarter: 0 0 1 */3 *](https://cronmissed.com/cron/quarterly.md)
- [Cron expression 0 0 1 1 * meaning](https://cronmissed.com/cron/every-year-on-january-1.md)
- [Cron @yearly explained: when it runs](https://cronmissed.com/cron/yearly.md)
- [Cron expression translator and evaluator](https://cronmissed.com/tools/cron-explainer.md)
