How to use the cron expression generator
Build from the controls, or type an expression and let the page explain it.
- Choose a Preset such as Weekdays at 09:00 or First day of every month as a starting point. It overwrites the expression box.
- Alternatively use the selects for Minute, Hour, Day of month, Month and Day of week. Changing any of them rebuilds the Cron expression box.
- For anything the menus do not offer, type straight into the Cron expression box. The menus only list common choices, so custom values go here.
- Read the big result: the expression with its plain-English description underneath, then a table of the five fields.
- Check the Next run table, which lists the next five times in your device time zone with how long until each.
- Press Copy expression, or Reset to return to the default.
An expression without exactly five fields shows a warning instead of a result.
The presets are Every minute, Every 5 minutes, Every hour, Daily at midnight, Weekdays at 09:00, Every Sunday at midnight, First day of every month and Once a year (1 January). Cron cannot express every second Tuesday or the last day of a month directly, so schedule such a job more often and let the script decide whether to run.