> Markdown version of https://opspane.dev/cron/schedules/every-2-hours/ for AI agents and readers: the same text, without navigation or the interactive tool.

# Cron Every 2 Hours

0 */2 * * * runs a cron job every 2 hours, on the hour: 00:00, 02:00, 04:00 and so on. Get it for Quartz, AWS, GitHub Actions, Kubernetes and systemd.

crontab expression

`0 */2 * * *`

In plain English

At minute 0 past every 2 hours.

12 runs a day (counted over 2026, UTC)

[See its next runs in your time zone](https://opspane.dev/cron/explainer/?expr=0%20*%2F2%20*%20*%20*) [Convert it to another platform](https://opspane.dev/cron/translate/?expr=0%20*%2F2%20*%20*%20*&amp;d=unix)

`*/2` in the hour field matches the even hours, 0 through 22, and the `0` in the minute field runs the job once at the start of each, 12 times a day. Leave out the `0` and it runs every minute of every even hour.

## Field by field

Minute `0` 1/60

:00

Hour `*/2` 12/24

Every 2 hours

Day of month `*` 31/31

Every day of the month

Month `*` 12/12

Every month

Day of week `*` 7/7

Every day of the week

Day match AND

Runs every day.

## The same schedule on every platform

Each expression below is the same schedule written for that platform, checked run by run against the crontab version.

| Platform | Expression | Open in tool |
| --- | --- | --- |
| crontab | `0 */2 * * *` | [Open in the crontab tool](https://opspane.dev/cron/explainer/?expr=0%20*%2F2%20*%20*%20*) |
| Quartz | `0 0 0/2 * * ?` | [Open in the Quartz tool](https://opspane.dev/cron/quartz/?expr=0%200%200%2F2%20*%20*%20%3F) |
| AWS EventBridge | `cron(0 0/2 * * ? *)` | [Open in the AWS EventBridge tool](https://opspane.dev/cron/aws-eventbridge/?expr=cron(0%200%2F2%20*%20*%20%3F%20*)) |
| GitHub Actions | `0 */2 * * *` | [Open in the GitHub Actions tool](https://opspane.dev/cron/github-actions/?expr=0%20*%2F2%20*%20*%20*) |
| Kubernetes | `0 */2 * * *` | [Open in the Kubernetes tool](https://opspane.dev/cron/kubernetes/?expr=0%20*%2F2%20*%20*%20*) |
| systemd | `*-*-* 00/2:00:00` | [Open in the systemd tool](https://opspane.dev/cron/systemd/?expr=*-*-*%2000%2F2%3A00%3A00) |

## Variations

| Expression | Runs | Open in explainer |
| --- | --- | --- |
| `0 1-23/2 * * *` | At minute 0 past every 2 hours from 01:00 through 23:00. | [Open 0 1-23/2 * * * in the explainer](https://opspane.dev/cron/explainer/?expr=0%201-23%2F2%20*%20*%20*) |
| `30 */2 * * *` | At minute 30 past every 2 hours. | [Open 30 */2 * * * in the explainer](https://opspane.dev/cron/explainer/?expr=30%20*%2F2%20*%20*%20*) |
| `0 8-18/2 * * 1-5` | At minute 0 past every 2 hours from 08:00 through 18:00 on Monday through Friday. | [Open 0 8-18/2 * * 1-5 in the explainer](https://opspane.dev/cron/explainer/?expr=0%208-18%2F2%20*%20*%201-5) |
| `0 */3 * * *` | At minute 0 past every 3 hours. | [Open 0 */3 * * * in the explainer](https://opspane.dev/cron/explainer/?expr=0%20*%2F3%20*%20*%20*) |
| `0 */4 * * *` | At minute 0 past every 4 hours. | [Open 0 */4 * * * in the explainer](https://opspane.dev/cron/explainer/?expr=0%20*%2F4%20*%20*%20*) |

## Watch out for

### `* */2 * * *` runs 60 times in each even hour

With `*` in the minute field the job runs every minute from 00:00 to 00:59, then from 02:00 to 02:59 and so on. Every 2 hours needs a fixed minute such as `0`.

### Odd hours need a range

`*/2` always starts at hour 0. To run at 01:00, 03:00, 05:00 and so on, use `0 1-23/2 * * *`.

### Steps that do not divide 24 are uneven

Steps restart at midnight, so `0 */5 * * *` runs at 00:00, 05:00, 10:00, 15:00 and 20:00, then at 00:00 again only 4 hours later.

## FAQ

### What is the cron expression for every 2 hours?

0 */2 * * *. It runs at minute 0 of hours 0, 2, 4 and so on up to 22.

### How do I run every 2 hours starting at 1 AM?

Use 0 1-23/2 * * *, which runs at 01:00, 03:00, 05:00 and so on up to 23:00.

### How do I run every 2 hours during the working day?

Use 0 8-18/2 * * 1-5. It runs at 08:00, 10:00, 12:00, 14:00, 16:00 and 18:00, Monday through Friday.

### Is 0 */2 * * * the same as listing the even hours?

Yes. 0 0,2,4,6,8,10,12,14,16,18,20,22 * * * matches exactly the same hours; the step form is just shorter.
