Skip to content

Cron Every 1 Hour: 0 * * * * Explained

0 * * * * Every 1 hour at minute 0 hours

The cron expression 0 * * * * runs a job every 1 hour, always at minute 0. The second field is the hour field, and */1 steps through it from 0, while the minute field is pinned to 0 so executions land exactly on the hour. This is the idiomatic way to express hourly work in crontab: report generation, log rotation checks, batch imports, certificate expiry scans and periodic backups all fit this pattern. You get 24 runs per day, evenly spaced on the clock. Two operational details deserve attention. First, time zone: the schedule follows the machine's local time, so a server in UTC and a laptop in Berlin will fire at different absolute moments — pin CRON_TZ if your team is distributed. Second, daylight saving transitions can duplicate or skip an hour in local-time zones; scheduling in UTC avoids the surprise entirely. Below you will find the field-by-field breakdown, the next five computed run times, and ready-to-paste equivalents for Quartz, Spring @Scheduled, Kubernetes CronJob and EventBridge, whose six-field dialects differ from crontab in important ways.

Advertisement
Ad slot · ref-top

Field-by-field breakdown

FieldValueMeaning
minute0only at minute 0
hour*every hour (wildcard, no restriction)
day-of-month*every day-of-month (wildcard, no restriction)
month*every month (wildcard, no restriction)
day-of-week*every day-of-week (wildcard, no restriction)

Next 5 run times (UTC)

Computed at build time; cross-check against your server's time zone before deploying.

  • 2026-12-05 07:00 UTC
  • 2026-12-05 08:00 UTC
  • 2026-12-05 09:00 UTC
  • 2026-12-05 10:00 UTC
  • 2026-12-05 11:00 UTC

When to use this schedule

  • Generating and emailing operational reports that stakeholders read once per shift or once per morning.
  • Rotating or compressing logs and checking disk usage before volumes fill up between daily cleanups.
  • Running batch imports from partners who drop files on an hourly schedule of their own.
  • Scanning TLS certificates, domain expiry and dependency advisories on a cadence that balances freshness against API quotas.

Equivalent syntax

The same schedule expressed for popular schedulers and platforms:

Crontab (5-field)
0 * * * * /usr/local/bin/job.sh   # Every 1 hour at minute 0
Quartz (6/7-field)
0 0 * * * ?   # Quartz (Java): 6-7 fields, leading seconds, '?' when day-of-week is set
Spring @Scheduled
0 0 * * * *   # Spring @Scheduled: 6 fields, leading seconds, day names accepted
Kubernetes CronJob
0 * * * *   # Kubernetes CronJob schedule field: standard 5-field syntax
AWS EventBridge
cron(0 * * * ? *)   # AWS EventBridge: 6 fields incl. year, '?' required in one day field

Caveats & gotchas

  • Cron evaluates schedules in the server's local time zone; set CRON_TZ (cronie) or TZ (containers) explicitly on shared or distributed infrastructure.
  • When both day-of-month and day-of-week are restricted, standard cron ORs them; keep one of the two as '*' unless you want that behavior.

Verify your schedule

After installing the schedule, verify it end to end instead of trusting the crontab line. Run 'crontab -l' to confirm the entry survived editing, then execute the command manually with the same user and environment to catch PATH and permission problems — cron runs with a minimal environment, so absolute paths and explicit SHELL/PATH declarations prevent the classic 'works in my terminal, fails in cron' bug. Watch the daemon log ('grep CRON /var/log/syslog' on Debian/Ubuntu, 'journalctl -u cron' or '-u crond' on systemd hosts) to confirm the trigger fires at the expected times, and redirect the job's own output to a log file with 2>&1 so failures are not swallowed by mail. Finally, cross-check the next run times listed on this page against your server's time zone before declaring the schedule correct.

Frequently asked questions

How do I run a cron job every 1 hours?

Use 0 * * * *: minute pinned to 0, hour field stepping by 1. Runs land exactly on the hour at 0:00, 1:00, 2:00 and so on.

Why not use */60 in the minute field for hourly jobs?

*/60 only matches minute 0 (the step never reaches 60 within 0-59), so it accidentally works but communicates intent poorly. '0 * * * *' is the idiomatic hourly form.

Does 0 * * * * respect daylight saving time?

It follows the server's local time. During a fall-back transition an hour can repeat, potentially firing twice; during spring-forward an hour can vanish. Run critical hourly jobs in UTC to avoid both.

Advertisement
Ad slot · ref-in-article

Try the Cron Parser

Decode cron schedules and preview the next run times.

Open tool →