Skip to content

Cron Expression Explainer

Paste a cron expression to read it in plain English and see exactly when it will run next.

Cron expression

Five fields: minute, hour, day of month, month, day of week. @daily, @hourly and the other shortcuts work too.
In plain English -

Next runs

    Times are in your browser's time zone. A server runs cron in its own time zone, often UTC: check with timedatectl.

    The five fields

    A cron schedule is five fields separated by spaces, followed by the command:

    ┌───────── minute (0-59)
    │ ┌─────── hour (0-23)
    │ │ ┌───── day of month (1-31)
    │ │ │ ┌─── month (1-12 or JAN-DEC)
    │ │ │ │ ┌─ day of week (0-7 or SUN-SAT, 0 and 7 are Sunday)
    │ │ │ │ │
    30 18 * * 1-5  /usr/bin/php /var/www/artisan schedule:run
    

    This one runs at 18:30 on weekdays.

    What the symbols mean

    Symbol Meaning Example Reads as
    * every value * * * * * every minute
    , a list 0 9,13,17 * * * at 09:00, 13:00 and 17:00
    - a range 0 9 * * 1-5 at 09:00, Monday to Friday
    / a step */15 * * * * every 15 minutes
    names months, weekdays 0 0 * jan,jul mon midnight on Mondays in January and July

    Shortcuts: @hourly, @daily (or @midnight), @weekly, @monthly, @yearly (or @annually) and @reboot, which runs once when the server starts.

    Schedules people look up most

    Expression Runs
    * * * * * every minute
    */5 * * * * every 5 minutes
    0 * * * * every hour, on the hour
    0 */6 * * * every 6 hours (00:00, 06:00, 12:00, 18:00)
    0 2 * * * every day at 02:00
    0 9 * * 1-5 weekdays at 09:00
    0 0 * * 0 every Sunday at midnight
    0 0 1 * * the first day of every month
    0 0 1 1 * once a year, on 1 January

    Mistakes that catch everyone

    The day-of-month and day-of-week trap. If both fields are set, cron runs when either matches, not both. 0 0 13 * 5 runs on the 13th of every month and on every Friday, not only on Friday the 13th. The explainer shows "or" when this happens, and the next-run list makes it obvious.

    */7 in the minute field is not every 7 minutes around the clock. Steps restart every hour: it runs at :00, :07, ... :56, then :00 again, a 4-minute gap.

    Time zones. Cron uses the server's time zone, which is often UTC on cloud servers. 18:30 UTC is midnight in India. Check with timedatectl and set CRON_TZ where your cron supports it.

    Environment. Cron runs with a minimal PATH and no shell profile. Use full paths (/usr/bin/php, not php) and send output somewhere you can read: >> /var/log/myjob.log 2>&1.

    Percent signs. In a crontab line, % means a new line. Escape it as \%, for example in date +\%F.

    Six fields?

    Some systems add a seconds field at the start (Quartz, Spring, some Node libraries) or a year at the end. Standard Linux cron and crontab use five. If your expression has six fields, check which system will run it.

    Frequently asked questions

    How do I run a cron job every 5 minutes?
    Use */5 * * * *. It runs at :00, :05, :10 and so on, every hour of every day.
    How do I edit my crontab?
    Run crontab -e as the user the job should run as. Each line is one schedule followed by the command. Use crontab -l to list the current jobs.
    Why is my cron job not running?
    The most common causes are a command that works in your shell but not in cron (use full paths), the server running in another time zone, a missing newline at the end of the crontab, or a % sign that was not escaped. Redirect the output to a log file to see errors.
    What does 0 0 * * 0 mean?
    At 00:00 every Sunday. The last field is the day of the week, where 0 and 7 both mean Sunday.
    How do I run a Laravel scheduler with cron?
    Add one line that runs every minute: * * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1. Laravel then decides which of your scheduled tasks are due.

    Sources

    The rules and figures in this tool come from these official sources, last checked November 12, 2026.

    1. crontab(5) manual page man7.org