Skip to content

0 * * * *

Every Hour — Cron expression to execute a task at the top of every hour (minute 0).

Next 5 executions (UTC)

Next 5 execution times in UTC for 0 * * * *
#Execution time (UTC)
12026-11-28 08:00 UTC
22026-11-28 09:00 UTC
32026-11-28 10:00 UTC
42026-11-28 11:00 UTC
52026-11-28 12:00 UTC
Edit & Simulate in Local Timezone

Running “0 * * * *” in production

Hourly jobs: the workhorse cadence

0 * * * * — top of every hour — is the default cadence for an enormous slice of production work: hourly digest and rollup jobs that aggregate events into summary tables; ACME-style certificate renewal checks; feed fetchers and scrapers that respect polite rate limits; backup verification and checksum passes; and the hourly log-rotation window many distributions still ship. The top-of-hour alignment means hourly jobs collide with each other and with everyone else's analytics batch — which is why 15 * * * * (quarter past) and 30 * * * * (half past) exist as first-class recipes in this directory rather than exotic variations.

An hourly job runs 8,766 times a year (8,784 in leap years), so the economics differ from daily jobs in kind, not just degree. One wasted second per run is 2.4 hours of CPU a year; one wasted database round-trip is invisible, but a table scan is not. The reliable pattern is a job that checks whether work is due (a watermark row, a flag) and exits in milliseconds when it is not — letting you keep the simple hourly schedule while doing expensive work only when something changed.

Hourly across platforms: timers, CronJobs, and managed schedulers

systemd ships a dedicated alias for this one: OnCalendar=hourly is exactly the top-of-hour cadence, with journald logging and RandomizedDelaySec available for spreading load. Kubernetes takes "0 * * * *" verbatim in a CronJob — add concurrencyPolicy: Forbid when a run might exceed an hour, or you get a slow leak of overlapping pods. AWS EventBridge expresses it as cron(0 * * * ?) in its 6-field, UTC-only dialect (there is a dedicated EventBridge hourly recipe in this directory with the exact syntax). Celery beat writes crontab() with no arguments — hour='*', minute=0 is the default.

The timezone question earns special attention on the hour boundary: an hourly job is usually meant to be timezone-neutral (every hour is every hour everywhere), but the DST transitions still bite once a year when a 1 AM or 2 AM fire happens twice or never on machines keeping local time. Servers pinned to UTC — the overwhelming default — never see this; a cron line inherited from a local-time-era server can. The timezone switcher in the simulator above shows exactly what your machine's TZ setting does to the schedule.

Common questions

What is the difference between 0 * * * * and * * * * *?

The minute field. 0 * * * * fires once per hour, at minute 0 — the top of the hour, 24 times a day. * * * * * fires every single minute, 1,440 times a day. The difference is a 60x change in execution count, which is the most common copy-paste cron accident in existence: one stray asterisk turns an hourly rollup into a minute-level hammer. If a job suddenly seems to run constantly, check the minute field first.

How do I run a job every hour but not at the top of the hour?

Move the minute field off zero: 17 * * * * fires at :17 every hour. This is the standard defense against the top-of-hour pile-up, where every cron on every server fires simultaneously at :00 — batch systems, databases, and APIs all see the same synchronized spike. The hourly-at-quarter-past, hourly-at-half-past, and hourly-at-quarter-to recipes in this directory exist precisely for this pattern.