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.
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
0 * * * *0 0 * * * ?0 0 * * * ?cron(0 * * * ? *)Add it to your crontab
- Open your crontab with
crontab -e. - Add one line:
0 * * * * /full/path/to/command >> /var/log/job.log 2>&1 - Save and exit. Cron reloads automatically; confirm with
crontab -l.
Need the output silenced, a lock against overlapping runs or a system crontab user column? The generator’s full crontab line builder writes it for you. Already have a crontab? Paste it into the crontab parser to check every job.
Variations
@hourly | Macro form (Vixie cron, cronie, Kubernetes) |
17 * * * * | Every hour at :17 (avoids the top-of-hour rush) |
In other schedulers
| crontab line | 0 * * * * /path/to/command |
| Quartz | 0 0 * * * ? |
| Spring | @Scheduled(cron = "0 0 * * * ?") |
| AWS EventBridge | cron(0 * * * ? *) |
| GitHub Actions | - cron: '0 * * * *' (UTC) |
| Kubernetes | schedule: "0 * * * *" |