Skip to main content
Cron expressions in Cronch are evaluated in your computer’s local time. Letters are case-insensitive.

Fields

An expression has 5 fields, or 6 with a leading seconds field. With 5 fields, seconds are 0. There is no year field.

Operators

Shortcuts

@reboot isn’t supported — Cronch has no “at startup” schedule.

Day of month and day of week together

If both fields are restricted (neither is * or ?), a day matches when it matches either of them — the classic cron behaviour. 0 9 1 * MON runs on the 1st of every month and on every Monday. To require both instead, start the day-of-week field with +: 0 9 1-7 * +MON runs at 09:00 on the first Monday of the month.

Daylight-saving changes

Because expressions follow your local clock:
  • A fixed time (single values for minute, hour and — if used — seconds, like 30 2 * * *):
    • if it falls in the hour that’s skipped in spring, it runs at the first moment after the jump;
    • if it falls in the hour that’s repeated in autumn, it runs once, the first time round.
  • A repeating pattern (with *, steps or ranges in the minute or hour, like */15 * * * *) skips times that don’t exist in spring and runs on both passes through the repeated hour in autumn.
If a job must run exactly once a day whatever the clocks do, give it a fixed time outside the 01:00–03:00 window.

Examples

When an expression isn’t valid

The editor shows Invalid cron expression: followed by the reason — for example Pattern must have 5 or 6 fields when years are disallowed — and doesn’t save until you fix it.