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

# Cron Every 12 Hours

0 */12 * * * runs a cron job twice a day, at midnight and noon. Get it for Quartz, AWS, GitHub Actions, Kubernetes and systemd, or pick other times.

crontab expression

`0 */12 * * *`

In plain English

At minute 0 past every 12 hours.

2 runs a day (counted over 2026, UTC)

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

`*/12` in the hour field matches hours 0 and 12, so with minute `0` the job runs at 00:00 and 12:00 every day. It is the same schedule as `0 0,12 * * *`; the list form makes it easy to move the two runs to other times.

## Field by field

Minute `0` 1/60

:00

Hour `*/12` 2/24

Every 12 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 0,12 * * *` | [Open in the crontab tool](https://opspane.dev/cron/explainer/?expr=0%200%2C12%20*%20*%20*) |
| Quartz | `0 0 0,12 * * ?` | [Open in the Quartz tool](https://opspane.dev/cron/quartz/?expr=0%200%200%2C12%20*%20*%20%3F) |
| AWS EventBridge | `cron(0 0,12 * * ? *)` | [Open in the AWS EventBridge tool](https://opspane.dev/cron/aws-eventbridge/?expr=cron(0%200%2C12%20*%20*%20%3F%20*)) |
| GitHub Actions | `0 0,12 * * *` | [Open in the GitHub Actions tool](https://opspane.dev/cron/github-actions/?expr=0%200%2C12%20*%20*%20*) |
| Kubernetes | `0 0,12 * * *` | [Open in the Kubernetes tool](https://opspane.dev/cron/kubernetes/?expr=0%200%2C12%20*%20*%20*) |
| systemd | `*-*-* 00,12:00:00` | [Open in the systemd tool](https://opspane.dev/cron/systemd/?expr=*-*-*%2000%2C12%3A00%3A00) |

## Variations

| Expression | Runs | Open in explainer |
| --- | --- | --- |
| `0 0,12 * * *` | At 00:00 and 12:00. | [Open 0 0,12 * * * in the explainer](https://opspane.dev/cron/explainer/?expr=0%200%2C12%20*%20*%20*) |
| `0 6,18 * * *` | At 06:00 and 18:00. | [Open 0 6,18 * * * in the explainer](https://opspane.dev/cron/explainer/?expr=0%206%2C18%20*%20*%20*) |
| `0 9,21 * * *` | At 09:00 and 21:00. | [Open 0 9,21 * * * in the explainer](https://opspane.dev/cron/explainer/?expr=0%209%2C21%20*%20*%20*) |
| `30 */12 * * *` | At minute 30 past every 12 hours. | [Open 30 */12 * * * in the explainer](https://opspane.dev/cron/explainer/?expr=30%20*%2F12%20*%20*%20*) |
| `0 */6 * * *` | At minute 0 past every 6 hours. | [Open 0 */6 * * * in the explainer](https://opspane.dev/cron/explainer/?expr=0%20*%2F6%20*%20*%20*) |

## Watch out for

### Two fixed times read better as a list

`*/12` can only give 00:00 and 12:00. For 06:00 and 18:00 write `0 6,18 * * *`, or add a range to the step: `0 6-23/12 * * *`.

### Midnight can disappear on DST days

In zones that change clocks at midnight, such as America/Santiago, 00:00 does not exist on the spring-forward day and crontab skips that run. Pick 06:00 and 18:00, or run the scheduler in UTC.

### Twice a day is not 12 hours after the last run

Cron runs at 00:00 and 12:00 whenever you deployed. For a run 12 hours after the previous one finished, use a systemd timer with `OnUnitInactiveSec=12h`.

## FAQ

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

0 */12 * * *. It runs at 00:00 and 12:00 every day.

### How do I run a cron job twice a day at 9 AM and 9 PM?

Use 0 9,21 * * *. The hour list picks the two times, and minute 0 runs once in each.

### Is 0 */12 * * * the same as 0 0,12 * * *?

Yes. Both match hours 0 and 12 and produce the same runs.

### What is every 12 hours in systemd OnCalendar?

*-*-* 00,12:00:00, which matches 00:00 and 12:00 every day.
