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.
| Field | Value | Allowed | Meaning |
|---|---|---|---|
| Minute | 0 | 0–59 | 0 |
| Hour | 0-21/3 | 0–23 | 0, 3, 6, 9, 12, 15, 18, 21 |
| Day of month | * | 1–31 | every day of month |
| Month | * | 1–12 | every 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:
- Mon 4 Jan 2027, 09:00 UTC
- Mon 4 Jan 2027, 12:00 UTC
- Mon 4 Jan 2027, 15:00 UTC
- Mon 4 Jan 2027, 18:00 UTC
- Mon 4 Jan 2027, 21:00 UTC
- 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
- Cron every minute
* * * * * - Cron every 2 minutes
*/2 * * * * - Cron every 3 minutes
*/3 * * * * - Cron every 5 minutes
*/5 * * * * - Cron every 10 minutes
*/10 * * * * - Cron every 15 minutes
*/15 * * * * - Cron every 20 minutes
*/20 * * * * - Cron every 30 minutes
*/30 * * * * - Cron every hour
0 * * * * - Cron every 2 hours
0 */2 * * * - Cron every 3 hours
0 */3 * * * - Cron every 4 hours
0 */4 * * * - Cron every 6 hours
0 */6 * * * - Cron every 8 hours
0 */8 * * * - Cron every 12 hours
0 */12 * * * - Cron every day at midnight
0 0 * * * - Cron every day at 1 AM
0 1 * * * - Cron every day at 2 AM
0 2 * * * - Cron every day at 3 AM
0 3 * * * - Cron every day at 6 AM
0 6 * * * - Cron every day at 8 AM
0 8 * * * - Cron every day at 9 AM
0 9 * * * - Cron every day at noon
0 12 * * * - Cron every day at 5 PM
0 17 * * * - Cron every day at 6 PM
0 18 * * * - Cron twice a day
0 0,12 * * * - Cron every weekday at 9 AM
0 9 * * 1-5 - Cron every weekend
0 0 * * 6,0 - Cron every Monday
0 0 * * 1 - Cron every Monday at 9 AM
0 9 * * 1 - Cron every Tuesday
0 0 * * 2 - Cron every Wednesday
0 0 * * 3 - Cron every Thursday
0 0 * * 4 - Cron every Friday
0 0 * * 5 - Cron every Friday at 5 PM
0 17 * * 5 - Cron every Saturday
0 0 * * 6 - Cron every Sunday
0 0 * * 0 - Cron every month
0 0 1 * * - Cron on the 15th of every month
0 0 15 * * - Cron twice a month
0 0 1,15 * * - Cron every quarter
0 0 1 1,4,7,10 * - Cron every 6 months
0 0 1 1,7 * - Cron every year
0 0 1 1 * - Cron every 5 minutes during business hours
*/5 9-17 * * 1-5 - Cron every hour during business hours
0 9-17 * * 1-5 - Cron every 30 minutes during business hours
*/30 9-17 * * 1-5 - Cron every other day
0 0 */2 * * - Cron every 2 weeks
0 9 * * 1 - Cron on the last day of the month
0 23 28-31 * * - Cron on the first Monday of the month
0 9 1-7 * * - Cron every 30 seconds
* * * * * - Cron every 45 minutes
*/45 * * * *