Cron every 5 minutes

Cron every 5 minutes is */5 * * * *: next runs, the Quartz and AWS forms (0/5) and what the step means.

loading Cron every 5 minutes
About this tool

Cron every 5 minutes: the expression

*/5 * * * *

The */5 in the minute field is a step: "every 5th value of the range", which for minutes means 0, 5, 10 and so on up to 55. The job therefore runs at the clock marks of the hour, not five minutes after it was installed. At the end of the hour the sequence starts again at :00.

This page opens the crontab generator with the expression loaded: it describes it in plain words, checks every field and lists the next runs in the time zone you choose. Read by the tool: "Every 5 minutes".

Field by field

FieldAllowed valuesHere
minute0-59*/5
hour0-23*
day of month1-31*
month1-12*
day of week0-7 (0 and 7 = Sunday)*

Minute */5 (0, 5, 10… 55), hour *, day *, month *, weekday *.

The next runs

Counted from Mon, Jan 5, 2026, 08:07:00 (UTC), the first five runs are:

  • Mon, Jan 5, 2026, 08:10:00
  • Mon, Jan 5, 2026, 08:15:00
  • Mon, Jan 5, 2026, 08:20:00
  • Mon, Jan 5, 2026, 08:25:00
  • Mon, Jan 5, 2026, 08:30:00

In a crontab

crontab -e

*/5 * * * * cd /srv/app && ./bin/sync --quiet

crontab -l    # lists what is installed

The same schedule in other systems

SystemExpression
Linux cron, Kubernetes CronJob, GitHub Actions (5 fields)*/5 * * * *
Quartz and Spring (6 fields, with seconds)0 0/5 * * * ?
AWS EventBridge (6 fields, with year)cron(0/5 * * * ? *)

The tool reads the three forms and produces exactly the same runs for them; the page checks that while it is built. GitHub Actions accepts this as the shortest schedule it allows (it uses UTC and may start late when the platform is busy). In Quartz and AWS EventBridge the step is written 0/5, starting from minute 0.

What it is used for

  • Syncing data from another system, such as a feed, a mailbox or an API without webhooks.
  • Refreshing a cache or a report that can be five minutes old.
  • Health checks and certificate or disk-space checks that alert only on a failure.

Common mistakes

  • Reading */5 as "5 minutes after the last run": cron has no memory of the last run, it only matches the clock. If the machine was off at :05, that run is simply lost.
  • Using 5 * * * * thinking of "every 5 minutes": that is the minute 5 of every hour, once an hour.

How to use the generator

  1. The expression is already in the box; edit any field, or toggle values in the field editor.
  2. Choose the style (Linux, with seconds, Quartz or AWS) and the time zone, and see the next 5, 10 or 20 runs.
  3. Copy the expression into your crontab, your workflow file or your EventBridge rule.

Frequently asked questions

How do I schedule a cron job every 5 minutes?

Use */5 * * * * followed by the command, in crontab -e. The same expression works in Kubernetes CronJobs and GitHub Actions schedules.

What is the difference between */5 and 0-59/5?

None: */5 is shorthand for the whole range 0-59 with a step of 5. A range such as 10-40/5 restricts it to minutes 10, 15… 40.

Why does my job not start exactly on the minute?

Cron checks once a minute and the job then needs time to start. Delays of a few seconds are normal; time-sensitive work should read the clock itself.

Report a problem