SMT

Cron Expression Tester

Enter a cron expression to preview the next scheduled run times and Unix timestamps.

Expression
*/15
Minute
0–59
*
Hour
0–23
*
Day
1–31
*
Month
1–12
*
Weekday
0–6 (Sun–Sat)
Runsevery 15 minutes

Next 8 runs (UTC)

#Date & Time (UTC)Relative
12026-06-03 15:45:00in 5 minutes
22026-06-03 16:00:00in 20 minutes
32026-06-03 16:15:00in 35 minutes
42026-06-03 16:30:00in about 1 hour
52026-06-03 16:45:00in about 1 hour
62026-06-03 17:00:00in about 1 hour
72026-06-03 17:15:00in about 2 hours
82026-06-03 17:30:00in about 2 hours

Common presets

Syntax reference

*any value
*/nevery n units
a-brange a to b
a,b,clist of values
a-b/nrange with step
@hourly0 * * * *
@daily0 0 * * *
@weekly0 0 * * 0
@monthly0 0 1 * *
@yearly0 0 1 1 *

Cron Expression Reference

A standard cron expression has 5 space-separated fields. Some systems add a 6th field for seconds (e.g. Spring, Quartz).

FieldAllowed ValuesSpecial Characters
Minute0–59* , - /
Hour0–23* , - /
Day of month1–31* , - / ? L W
Month1–12 or JAN–DEC* , - /
Day of week0–7 (0 & 7 = Sun) or SUN–SAT* , - / ? L #

Common Cron Patterns

ExpressionMeaning
* * * * *Every minute
0 * * * *Every hour (top of the hour)
0 9 * * 1-5Weekdays at 09:00
0 0 * * *Every day at midnight (UTC)
0 0 1 * *First day of every month at midnight
0 0 * * 0Every Sunday at midnight
*/15 * * * *Every 15 minutes
0 9,17 * * 1-5Weekdays at 09:00 and 17:00
0 0 1 1 *Once a year — January 1 at midnight
@rebootOnce, on system startup (not standard on all systems)

Special Characters Explained

*

Any value — "run every ___"

,

List separator — "0 9,17 * * *" = 9am and 5pm

-

Range — "1-5" in day-of-week = Mon–Fri

/

Step — "*/5" in minutes = every 5 minutes

?

No specific value (day fields only, Quartz)

L

Last — "L" in day = last day of month

Frequently Asked Questions

What is a cron daemon?

A cron daemon (crond) is a background process on Unix/Linux systems that reads a crontab file and runs commands at the scheduled times. The name comes from the Greek word "chronos" (time). Modern equivalents include systemd timers, Kubernetes CronJobs, and cloud scheduler services.

Why did my cron job not run at the expected time?

Common causes: (1) Timezone mismatch — your cron runs in UTC but you specified local time. (2) The cron daemon was not running. (3) A syntax error in the expression. (4) The command itself failed silently. Use this tool to verify when your expression actually fires.

How do I run a cron job every 5 minutes?

Use */5 * * * * — the step operator (/) divides the field range by 5, selecting every 5th value: 0, 5, 10, 15... 55.

What is the difference between cron and crontab?

Cron is the daemon (service). Crontab is the file that lists the scheduled jobs. You edit your crontab with "crontab -e" and each user has their own crontab. There is also a system-wide crontab at /etc/crontab.

Does cron support running a job every second?

Standard 5-field cron does not support sub-minute scheduling. The smallest unit is one minute. For second-level precision use Quartz (Java) with its 6-field syntax, or a different scheduler like Celery Beat or systemd timers.