What is the Cron Expression Generator?
Cron runs a command on a schedule: a backup every night, a cache clear every 15 minutes, a report every Monday morning. The schedule is written as five short fields, like 0 3 * * 1, which is easy to get wrong and hard to read back a month later.
Here you simply say what you want, such as "every day at 03:00" or "Monday and Thursday at 22:15", and the tool writes the expression for you. It explains any expression in plain words, shows the next eight times it will run in your own time zone, and checks every field so a typo never reaches your server.
It also gives you the same schedule in the form each system expects: the five boxes of cPanel's Cron Jobs page, a full crontab line with your command, an OnCalendar line for systemd timers, a Quartz or Spring expression, a Kubernetes CronJob and a GitHub Actions schedule.
Common cron schedules
Each page explains one schedule in plain words, with the next run times, the cPanel values, the crontab and systemd lines, and useful variations.
Every few minutes
- Every Minute
* * * * * - Every 2 Minutes
*/2 * * * * - Every 3 Minutes
*/3 * * * * - Every 5 Minutes
*/5 * * * * - Every 10 Minutes
*/10 * * * * - Every 15 Minutes
*/15 * * * * - Every 20 Minutes
*/20 * * * * - Every 30 Minutes
*/30 * * * *
Every few hours
- Every Hour
0 * * * * - Every 2 Hours
0 */2 * * * - Every 3 Hours
0 */3 * * * - Every 4 Hours
0 */4 * * * - Every 6 Hours
0 */6 * * * - Every 8 Hours
0 */8 * * * - Every 12 Hours
0 */12 * * *
Every day
- Every Day at Midnight
0 0 * * * - Every Day at 1 AM
0 1 * * * - Every Day at 2 AM
0 2 * * * - Every Day at 3 AM
0 3 * * * - Every Day at 6 AM
0 6 * * * - Every Day at 9 AM
0 9 * * * - Every Day at Noon
0 12 * * * - Every Day at 6 PM
0 18 * * * - Every Day at 11 PM
0 23 * * * - Twice a Day
0 0,12 * * * - Three Times a Day
0 8,14,20 * * *
Days of the week
- Every Weekday
0 0 * * 1-5 - Every Weekday at 9 AM
0 9 * * 1-5 - Every Weekend
0 0 * * 6,0 - Every Monday
0 0 * * 1 - Every Tuesday
0 0 * * 2 - Every Wednesday
0 0 * * 3 - Every Thursday
0 0 * * 4 - Every Friday
0 0 * * 5 - Every Saturday
0 0 * * 6 - Every Sunday
0 0 * * 0 - Every Week
0 0 * * 0
Months and years
- Every Month
0 0 1 * * - Twice a Month
0 0 1,15 * * - on the Last Day of the Month
0 0 28-31 * * - Every Quarter
0 0 1 1,4,7,10 * - Every 6 Months
0 0 1 1,7 * - Every Year
0 0 1 1 *
Special cases
Features
Build in plain words
Every few minutes, hourly, daily, weekdays, weekly, monthly or yearly.
Explains any expression
Paste a cron line and read what it does.
Next run times
The next eight runs, in your time zone or UTC.
cPanel ready
The Minute, Hour, Day, Month and Weekday boxes, filled in.
Linux, systemd and more
crontab, OnCalendar, Quartz, Kubernetes and GitHub Actions.
Checks every field
Ranges, steps, lists, names such as MON and JAN, and @daily macros.
How to use the Cron Expression Generator
- 1
Choose how often the job runs, or type your own expression.
- 2
Check the meaning in plain words and the next run times.
- 3
Copy the five cPanel values or the ready line for your system.
Who it is for
cPanel hosting
Schedule a PHP script, a backup or a cache clean without guessing the stars.
Linux servers
Write and double-check crontab lines before you save them.
Moving to systemd or Kubernetes
Turn an old cron line into an OnCalendar timer or a CronJob.
Reading someone else's server
Find out what an existing cron job really does and when it runs next.
Tips for better results
- Cron uses the server's time zone, which is often UTC. Tick "Show times in UTC" to see the times the server will use.
- On cPanel, keep >/dev/null 2>&1 at the end of the command if you do not want an email after every run.
- If you fill in both the day of the month and the weekday, cron runs when either one matches, not only when both do.
- Give the full path to programs in the command, such as /usr/local/bin/php, because cron starts with a very short PATH.
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
What do the five stars in a cron expression mean?
From left to right: minute (0 to 59), hour (0 to 23), day of the month (1 to 31), month (1 to 12) and day of the week (0 to 7, where 0 and 7 are Sunday). A star means "every". For example, */15 * * * * means every 15 minutes, and 0 3 * * * means every day at 03:00.
How do I add this in cPanel?
Open cPanel, then Cron Jobs. Leave "Common Settings" on "--", copy the five values shown here into the Minute, Hour, Day, Month and Weekday boxes, paste your command into "Command" and press Add New Cron Job.
Why did my cron job not run?
The usual reasons are a different time zone on the server, a command that works in your terminal but not without your PATH, or missing permissions on the script. Use full paths and test the command by hand first.
Does it support six fields with seconds?
You can paste a six-field expression; the first field (seconds) is ignored, because classic cron and cPanel work in whole minutes. The Quartz line shows the seconds field for Java and Spring.