Start free · Free tools · Fair usage limits
Browse Tools

Categories

Custom AI Solutions – AI2Flows
LIVE NEWS
Loading latest AI & SEO news…
Home›Tools›Crontab Builder›How to run a cron job every 90 minutes
Cron expression

How to run a cron job every 90 minutes

How to schedule a cron job every 90 minutes: why one expression isn’t enough, a copy-ready crontab workaround, and next run times.

Quick answer

Standard cron cannot run a job every 90 minutes with one plain expression. A single cron line cannot express 90 minutes because the hours and minutes alternate. The usual fix is 2 crontab lines, shown below, which you can copy straight into crontab -e.

Last updated · Maintained by FreeAIToolz · How we test

At 00:00, 03:00, 06:00, 09:00, 12:00, 15:00, 18:00 and 21:00 every day

Open in the full Crontab Builder →

Copy-ready crontab to run a job every 90 minutes

0 0-21/3 * * * /path/to/command
30 1-22/3 * * * /path/to/command

Together they run at 00:00, 01:30, 03:00, 04:30 … 22:30, exactly 90 minutes apart, every day.

What does 0 0-21/3 * * * mean?

At 00:00, 03:00, 06:00, 09:00, 12:00, 15:00, 18:00 and 21:00 every day. This is the base schedule used by the workaround above.

FieldValueAllowedMeaning
Minute00–590
Hour0-21/30–230, 3, 6, 9, 12, 15, 18, 21
Day of month*1–31every day of month
Month*1–12every month
Day of week*0–6 (0 = Sunday)every day of week

Example run times

If the current time were Monday 4 January 2027, 08:58 UTC, 0 0-21/3 * * * would next run at:

  1. Mon 4 Jan 2027, 09:00 UTC
  2. Mon 4 Jan 2027, 12:00 UTC
  3. Mon 4 Jan 2027, 15:00 UTC
  4. Mon 4 Jan 2027, 18:00 UTC
  5. Mon 4 Jan 2027, 21:00 UTC
  6. Tue 5 Jan 2027, 00:00 UTC

When to use a cron job every 90 minutes

Jobs that need a 1.5-hour rhythm, such as staggered syncs.

Things to watch out for

A single cron line cannot express 90 minutes because the hours and minutes alternate. Use two lines: one for the :00 runs and one for the :30 runs.

How to use this schedule in your scheduler

This schedule needs 2 separate entries. Schedulers that accept a list (GitHub Actions) take them all; for Kubernetes or EventBridge, create one schedule per line.

Linux crontab

Run crontab -e and add:

0 0-21/3 * * * /path/to/command
30 1-22/3 * * * /path/to/command

GitHub Actions

on:
  schedule:
    - cron: '0 0-21/3 * * *'
    - cron: '30 1-22/3 * * *'   # UTC

Kubernetes CronJob

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

AWS EventBridge Scheduler

EventBridge uses six fields (with a year) and needs ? in either day-of-month or day-of-week:

cron(0 0-21/3 * * ? *)

Spring @Scheduled (seconds first)

@Scheduled(cron = "0 0 0-21/3 * * *", zone = "UTC")

Node.js (node-cron)

cron.schedule('0 0-21/3 * * *', () => { /* job */ }, { timezone: 'UTC' });

Vercel Cron Jobs (vercel.json)

{ "crons": [{ "path": "/api/cron", "schedule": "0 0-21/3 * * *" }] }

Vercel cron jobs run in UTC, and how often they can run depends on your plan.

More cron schedules

Frequently asked questions

Is there a single cron expression for every 90 minutes?
A single cron line cannot express 90 minutes because the hours and minutes alternate. Use two lines: one for the :00 runs and one for the :30 runs. Together they run at 00:00, 01:30, 03:00, 04:30 … 22:30, exactly 90 minutes apart, every day.
Which time zone does this cron schedule use?
Cron runs in the time zone of the system or service that executes it. Linux servers and cloud schedulers (GitHub Actions, Vercel, AWS EventBridge by default) normally use UTC. Many crontabs accept CRON_TZ=Area/City at the top, and Kubernetes CronJobs have a timeZone field.
What happens if the server is off at the scheduled time?
Plain cron does not catch up on missed runs. If the machine was off, that run is skipped. Use anacron, or a systemd timer with Persistent=true, if missed jobs must run after boot.
How do I test this schedule before deploying?
Paste the expression into the live checker on this page to see the next 10 run times in UTC and your local time. On Linux, check the system log (grep CRON /var/log/syslog) after the first expected run.