Schedule a cron job every hour with 0 * * * *
By TechCompare · Updated · How we check
0 * * * * is the canonical every-hour pattern. Use the @hourly shortcut if your cron daemon supports it (Vixie cron, cronie, most Linux distributions). For more complex hourly schedules, constrain the hour field rather than trying to do it through the minute field.
Calculator
Next runs of 0 * * * *
Example from Mon, Nov 9, 2026 at 8:00 AM.
- Mon, Nov 9, 2026 at 9:00 AM
- Mon, Nov 9, 2026 at 10:00 AM
- Mon, Nov 9, 2026 at 11:00 AM
- Mon, Nov 9, 2026 at 12:00 PM
- Mon, Nov 9, 2026 at 1:00 PM
To run a job at the top of every hour, use 0 * * * *. The zero fixes the minute to exactly :00, and the asterisk in the hour field means every hour. At 14:00, 15:00, 03:00, the job fires.
How this is calculated
If you want the job to run at a different minute past the hour (say :30 for half-past), use 30 * * * *.
To run only during business hours, constrain the hour field: 0 9-17 * * * runs at the top of every hour from 9 AM to 5 PM, which is 9 runs a day. For every 2 hours, use 0 */2 * * *.
Most cron daemons also support the @hourly shortcut, which is equivalent to 0 * * * * and runs at the start of each hour.
Verdict
Use 0 * * * * for the top of every hour, and change one field for the variants. :30 needs 30 * * * *, business hours need an hour range like 9-17, and every other hour drops in */2 on the hour field. The @hourly alias works on Vixie cron and cronie, so if you only need the top of each hour it's the cleanest shorthand.
More Cron scenarios
Related guides
Frequently asked questions
How do I run a cron job every hour?
How do I schedule a cron job at 30 minutes past every hour?
Should I use @hourly or 0 * * * *?
Related tools
Unix Timestamp
Convert between Unix timestamps and human-readable dates.
Use toolCHMOD Configurator
Calculate Linux file permissions using checkboxes or octal numbers, then view the matching symbolic notation.
Use toolText Encoding Converter
Convert text to Base64, binary, hex, URL encoding and HTML entities, and back again.
Use tool