What does 0 0-21/3 * * * mean?
The cron expression 0 0-21/3 * * * runs a job every 90 minutes. In plain words: At minute 0, during hour 0, 3, 6, 9, 12, 15, 18 and 21, in the time zone of the server.
A gap of 90 minutes does not fit into hours and minutes, so one cron line cannot do it. Use two lines together: 0 0-21/3 * * * (00:00, 03:00 ...) and 30 1-22/3 * * * (01:30, 04:30 ...). Between them the job runs every 90 minutes.
Need another time? Change the expression in the box above, or pick a different schedule: the meaning, the next run times and the ready lines for cPanel, crontab, systemd, Kubernetes and GitHub Actions update as you type.
Cron every 90 minutes at a glance
0 0-21/3 * * *
At minute 0, during hour 0, 3, 6, 9, 12, 15, 18 and 21.
| Field | Minute | Hour | Day of month | Month | Day of week |
|---|---|---|---|---|---|
| Value | 0 | 0-21/3 | * | * | * |
| Means | 0 | 0, 3, 6, 9, 12, 15, 18, 21 | every | every | every |
Next runs (UTC)
Times in your own time zone are shown by the tool above.
cPanel › Cron Jobs
| Minute | Hour | Day | Month | Weekday |
|---|---|---|---|---|
0 | 0-21/3 | * | * | * |
Linux crontab
0 0-21/3 * * * /usr/local/bin/php /home/USER/public_html/cron.php >/dev/null 2>&1
systemd timer
[Timer] OnCalendar=*-*-* 00,03,06,09,12,15,18,21:00:00 Persistent=true
Variations
- Second line (01:30, 04:30, 07:30 ...)
30 1-22/3 * * *
Related schedules
How to use the Cron Job Every 90 Minutes
- 1
Check the expression and its meaning above.
- 2
Change the time in the box if you need a different schedule.
- 3
Copy the five cPanel values or the ready line for your system.
Tips for better results
- Use full paths in the command, such as /usr/local/bin/php, because cron starts with a very short PATH.
- Send the output to a log file (>> /home/USER/cron.log 2>&1) while testing, then switch to >/dev/null 2>&1 once it works.
- If one run might still be going when the next one starts, wrap the command in flock -n /tmp/job.lock to skip the overlap.
Your privacy: it stays on your device
- This tool runs entirely in your browser. What you type and the files you choose are processed on your own device and are never sent to our server.
- Nothing is uploaded, stored or kept in a history, so it is safe for private text, documents, photos and keys.
- It keeps working on a slow connection, because no answer has to come back from a server.
Questions people ask
How do I run a cron job every 90 minutes in cPanel?
Open cPanel › Cron Jobs, leave Common Settings on "--" and type the five values 0 · 0-21/3 · * · * · * into Minute, Hour, Day, Month and Weekday. Put your command in Command, for example /usr/local/bin/php /home/USER/public_html/cron.php >/dev/null 2>&1, and press Add New Cron Job.
Can I change the time or start it at another minute?
Yes. For example: second line (01:30, 04:30, 07:30 ...): 30 1-22/3 * * *.
Which time zone does cron use?
The time zone of the server, which is often UTC on hosting and cloud servers. Some cron versions accept CRON_TZ=Africa/Cairo (or another zone) on the line above the job.