JsonApi
Menu

Cron

Build and understand standard five-field Unix cron schedules.

Enter a cron expression to validate it, read its meaning, and preview upcoming runs in your local time zone.

Processing
Local browser only
Syntax guide

A standard Unix cron expression has five space-separated fields.

*Any value1,5List of values1-5Range*/15Step interval
┌─ Minute (0–59)
│ ┌─ Hour (0–23)
│ │ ┌─ Day of month (1–31)
│ │ │ ┌─ Month (1–12)
│ │ │ │ ┌─ Day of week (0–7; 0 or 7 = Sunday)
* * * * *

Example with command

In a crontab entry, append the command after the five-field expression.

0 9 * * 1 /usr/local/bin/backup.sh >> /var/log/backup.log 2>&1

Runs backup.sh every Monday at 09:00 and appends standard output and errors to the log file.

FieldValueAllowed values
Minute0–59
Hour0–23
Day of month1–31
Month1–12
Day of week0–7 · 0 or 7 = Sunday

Command validation

Explanation

Next runs

Local time