o

Cronjob.deCrontab reference › Hourly

Running a cronjob hourly

Once an hour is written 0 * * * * in the crontab: at minute 0 of every hour. The shorthand @hourly means the same but is not understood everywhere.

0 Minute 0-59
* Hour 0-23
* Day 1-31
* Month 1-12
* Weekday 0-7

Open and adjust in the crontab generator ›

Meaning

What the expression says exactly

The first field sets the minute, here 0. The second field is the hour and is *, so every hour. Together that makes 24 runs a day, at 0:00, 1:00, 2:00 and so on.

The minute does not have to be 0. 15 * * * * runs just as hourly, only at quarter past each time. That is often even the better choice, see below.

The next runs

  • Wed, 23 Sep 2026, 21:00
  • Wed, 23 Sep 2026, 22:00
  • Wed, 23 Sep 2026, 23:00
  • Thu, 24 Sep 2026, 00:00
  • Thu, 24 Sep 2026, 01:00

Calculated in German time when this page was loaded.

Variants

Similar schedules

15 * * * * Hourly at quarter past, away from the full hour. Adjust
0 */2 * * * Every two hours, on the hour: 0, 2, 4 … 22. Adjust
0 8-18 * * * Hourly from 8:00 to 18:00, eleven runs a day. Adjust
0 8-18 * * 1-5 Hourly during office hours, weekdays only. Adjust
0,30 * * * * Twice an hour, on the hour and at half past. Adjust

Watch out for

Typical mistakes with this interval

* 1 * * * is not "once at 1 o'clock"

With an asterisk in the minute field, the job runs in every minute of the given hour, 60 times between 1:00 and 1:59. If you mean one run in that hour, set the minute: 0 1 * * *.

The full hour is rush hour

A great many cronjobs worldwide start at minute 0. On shared servers and with third-party APIs things get tight then, and calls are more likely to hit time limits. If it does not matter when within the hour your job runs, pick another minute, such as 15 or 35.

Daylight saving time

On the night clocks go forward, the hour from 2 to 3 is missing; when they go back, it happens twice. An hourly job therefore runs once less or once more that night. For most tasks that does not matter, for billing it does.

Own server

How it looks in the crontab

Open with crontab -e and add one line. The first starts a PHP script directly, the second calls an address. Replace paths and address with your own.

0 * * * * /usr/bin/php /pfad/zu/skript.php >/dev/null 2>&1
@hourly curl -fsS https://ihre-domain.de/cron.php >/dev/null

Without your own server

How it works at Cronjob.de

No command-line access needed: you enter the address of your script and click the schedule together. You can also type the expression above directly, or describe the interval in one sentence and have it suggested. Cronjob.de uses German time.

Five cronjobs are free forever, on the five-minute grid. One-minute intervals start with Plus. How to prepare a script on shared web space for this is explained in the web space guide.

FAQ

Common questions

What is the difference between 0 * * * * and @hourly?
None in effect. @hourly is a shorthand understood by the Linux cron. Some schedulers and interfaces do not know it; the written-out expression works everywhere.
How do I run a job every hour at a specific minute?
Put the minute in the first field: 20 * * * * runs every hour at twenty past. On the free Cronjob.de plan the minute has to be divisible by five.
Which time zone does Cronjob.de use?
German time (Europe/Berlin), including daylight saving time. A job for 14:00 therefore runs at 14:00 German time, in summer and winter alike.

Create your cronjob now

Create an account, enter the address, click the schedule. Five cronjobs are free forever, the first 14 days run on the Unlimited plan.

Start for free To the crontab generator