---
title: "Cron every 2 hours: 0 */2 * * *"
url: "https://cronmissed.com/cron/every-2-hours.md"
canonical_url: "https://cronmissed.com/cron/every-2-hours"
last_updated: "2026-10-22"
type: "reference"
summary: "Cron 0 */2 * * * runs every 2 hours on even hours, 12 times a day. Meaning, next runs, daylight saving behavior and monitoring."
related: ["https://cronmissed.com/cron.md", "https://cronmissed.com/cron/hourly.md", "https://cronmissed.com/cron/every-3-hours.md", "https://cronmissed.com/cron/every-hour-at-half-past.md", "https://cronmissed.com/tools/cron-explainer.md"]
---

# Cron every 2 hours: 0 */2 * * *

> **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 */2 * * * runs every 2 hours on even hours, 12 times a day. Meaning, next runs, daylight saving behavior and monitoring.

`0 */2 * * *`: Every 2 hours, at minute 0, every day.

## What does 0 */2 * * * mean?

| Field | Written | Means |
| --- | --- | --- |
| minute | `0` | 0 |
| hour | `*/2` | every 2 from 0: 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20 and 22 |
| day of month | `*` | every day of month |
| month | `*` | every month |
| day of week | `*` | every day of week |

## How often does it run?

On a day it runs, it runs 12 times. It runs on 365 days of 2027, 4,380 runs in all. Runs are 2 hours apart.

## When is this schedule useful?

Batch imports, thumbnail regeneration, and data pulls from slower partners that publish a few times a day.

## What should you watch out for?

Runs land on even hours only. In the fall-back hour of a daylight saving change cronie treats this as a fixed-time job, so a run in the repeated hour happens once.

## What happens when the clocks change?

On Sunday 14 March 2027, clocks in America/New_York jump from 02:00 to 03:00. The 02:00 run does not exist that night, so Linux cron (cronie) runs it when the clock jumps, at 03:00.

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. No run falls in the repeated hour, so the day runs as usual.

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

## How do you write it for other schedulers?

- **Kubernetes CronJob:** `0 */2 * * *`
- **GitHub Actions:** `0 */2 * * *`
- **Vercel Cron:** `0 */2 * * *`
- **Quartz:** `0 0 */2 * * ?`
- **Spring @Scheduled:** `0 0 */2 * * *`
- **AWS EventBridge:** `cron(0 */2 * * ? *)`
- **systemd OnCalendar:** `*-*-* 00/2:00:00`

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

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

```crontab
0 */2 * * * /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 hourly and every few hours schedules

- [@hourly](https://cronmissed.com/cron/hourly.md): `@hourly`
- [Every 3 hours](https://cronmissed.com/cron/every-3-hours.md): `0 */3 * * *`
- [Every hour at half past](https://cronmissed.com/cron/every-hour-at-half-past.md): `30 * * * *`
- [Every 4 hours](https://cronmissed.com/cron/every-4-hours.md): `0 */4 * * *`
- [Every hour](https://cronmissed.com/cron/every-hour.md): `0 * * * *`
- [Every 5 hours](https://cronmissed.com/cron/every-5-hours.md): `0 */5 * * *`

## Related

- [Cron expression and crontab examples](https://cronmissed.com/cron.md)
- [Cron @hourly explained: when it runs](https://cronmissed.com/cron/hourly.md)
- [Cron every 3 hours: 0 */3 * * *](https://cronmissed.com/cron/every-3-hours.md)
- [Cron every hour at half past: 30 * * * *](https://cronmissed.com/cron/every-hour-at-half-past.md)
- [Cron expression translator and evaluator](https://cronmissed.com/tools/cron-explainer.md)
