Cron every hour

The cron expression for every hour is:

0 * * * *

Runs at the top of every hour: 00:00, 01:00 and so on to 23:00.

24 times a day
Standard 5-field cron

Next 10 runs

For 0 * * * *, in the timezone you pick. Cron uses the server's timezone.

Times in UTC as of the last site update. They refresh when the page loads in a browser.

#Date and timeWhen
1Oct 29, 2026, 23:00Thursday
2Oct 30, 2026, 00:00Friday
3Oct 30, 2026, 01:00Friday
4Oct 30, 2026, 02:00Friday
5Oct 30, 2026, 03:00Friday
6Oct 30, 2026, 04:00Friday
7Oct 30, 2026, 05:00Friday
8Oct 30, 2026, 06:00Friday
9Oct 30, 2026, 07:00Friday
10Oct 30, 2026, 08:00Friday

How to read 0 * * * *

0 in the minute field pins the job to minute 0. * in the hour field means every hour, and the last three * fields mean every day.

FieldValueMeaningAllowed
Minute0At the top of the hour0-59
Hour*Every hour0-23
Day of month*Every day of the month1-31
Month*Every month1-12 or jan-dec
Weekday*Every day of week0-7 or sun-sat

Watch out for

  • * * * * * is a common mistake for hourly: it runs every minute. The minute field needs a fixed number.
  • Many jobs start at :00. If yours does not need to, pick another minute, such as 17 * * * *, to stay out of the spike.
  • @hourly is a shortcut for 0 * * * * in most cron versions.

Often used for: Hourly reports, rollups, imports and maintenance.

Use it in

crontab

0 * * * * /path/to/your-script.sh

Edit with crontab -e. Runs in the server's timezone.

Kubernetes CronJob

apiVersion: batch/v1
kind: CronJob
metadata:
  name: my-job
spec:
  schedule: "0 * * * *"
  timeZone: "Etc/UTC"
  jobTemplate:
    spec:
      template:
        spec:
          restartPolicy: OnFailure
          containers:
            - name: my-job
              image: busybox:1.36
              command: ["sh", "-c", "date"]

Without timeZone, the schedule follows the timezone of the kube-controller-manager.

GitHub Actions

on:
  schedule:
    - cron: '0 * * * *'
      timezone: "Etc/UTC"
jobs:
  run:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - run: ./your-script.sh

Without timezone, GitHub runs schedules in UTC. It runs them at most every 5 minutes, and a run can start late when GitHub is busy.

All cron schedules

Cron does not tell you when a job stops

Know when a job on this schedule does not run.

Your job pings Drumbeats when it finishes. If a ping does not arrive on schedule, you get an alert. No SDK, free for up to 50 monitors.

Free for up to 50 monitors · Setup in 60 seconds · No credit card required