Kadben

Cron expression explainer and builder

Paste a crontab line and read what it means, field by field, with the next 10 times it will run in your time zone, in UTC or in any other zone. Build a new one from the examples or field by field.

Runs in your browser. Nothing is uploaded.

Cron expression explainer

Five fields: minute, hour, day of month, month, day of week; or @hourly, @daily, @weekly, @monthly, @yearly, @reboot.

Build it field by field

FieldWrittenMeans

    Next 10 runs

      How to use it

      1. Type or paste the five fields of a crontab line (the command after them is not needed), or choose an example.
      2. Read the sentence and the table: what each field means.
      3. Choose the time zone of the computer that runs cron to see its next 10 runs.
      4. Change any field below to build your own expression; the whole line updates.

      Rules and limits

      How the expression is read

      Questions and answers

      Why does “0 0 13 * 5” run on every Friday?

      When both day fields are restricted, cron runs when either matches: on the 13th of each month and on every Friday. To run only on Friday the 13th, run on the 13th and check the weekday in the command.

      Which time zone does cron use?

      The time zone of the computer or container where cron runs, often UTC on servers. Choose that zone here; the times then match the server’s clock.

      Can I use seconds or years?

      Not in standard cron: it has five fields and checks once a minute. Six- or seven-field expressions belong to other schedulers (for example Quartz or Spring), whose rules differ; this page does not read them.

      Is anything sent to a server?

      No. The expression is read and the times are worked out in your browser; the page sends nothing.

      Related tools