Cron expression for every hour

0 * * * *

Every hour, on the hour.

A 0 in the minute field and * in the hour field runs the job at the top of every hour: 24 runs a day. Writing * * * * * by mistake runs it every minute instead, a classic error. @hourly is the same schedule.

Try it and tweak it

Change any field below and the preview updates. Set the time zone to match your server.

✓ Valid cron

Every hour, on the hour.

Next 10 runs

Calculating in your browser…

Times are computed in your browser for the selected zone and are informational. The server that runs the job uses its own zone (often UTC) and cron flavour, so verify there.

Same schedule in other dialects

Unix crontab0 * * * *
Quartz0 0 * * * ?
Spring @Scheduled0 0 * * * ?
AWS EventBridgecron(0 * * * ? *)

Variations

@hourlyMacro form (Vixie cron, cronie, Kubernetes)
17 * * * *Every hour at :17 (avoids the top-of-hour rush)

In other schedulers

crontab line0 * * * * /path/to/command
Quartz0 0 * * * ?
Spring@Scheduled(cron = "0 0 * * * ?")
AWS EventBridgecron(0 * * * ? *)
GitHub Actions- cron: '0 * * * *' (UTC)
Kubernetesschedule: "0 * * * *"

Questions

What is the cron expression for every hour?
0 * * * *. Every hour, on the hour.
How do I write it in Quartz or Spring?
Add a seconds field and use "?" for the unused day field: 0 0 * * * ?. In Spring: @Scheduled(cron = "0 0 * * * ?").
What is the AWS EventBridge version?
cron(0 * * * ? *). AWS uses six fields with a year at the end and needs "?" in one of the day fields.
Which time zone will it use?
The time zone of the machine or service running cron. GitHub Actions and Vercel use UTC; Kubernetes uses spec.timeZone if set. The preview above lets you pick a zone.