sysop@hub:~/tools/cron-builder$
cron-builder
Five fields that everybody looks up every time. Type a cron expression or pick a schedule: you get what it means in plain words, when it runs next, the traps in it, and the same schedule as a systemd timer and as a Windows scheduled task.
the five fields
| Field | Values | Examples |
|---|---|---|
| Minute | 0 to 59 | 0 on the hour, */15 every quarter, 5,35 twice an hour |
| Hour | 0 to 23 | 2 at night, 8-17 office hours, */6 four times a day |
| Day of month | 1 to 31 | 1 the first, 1,15 twice a month |
| Month | 1 to 12, or jan to dec | * every month, 1,4,7,10 each quarter |
| Day of week | 0 to 7 (0 and 7 are Sunday), or sun to sat | 1-5 Monday to Friday, 0 Sunday |
Reads the classic five-field cron of Linux and macOS, with lists, ranges, steps, names and the @daily style shortcuts. The six- and seven-field forms of Quartz, Spring and cloud schedulers are different dialects. The next runs are worked out in your browser's time zone. Related: systemd and journalctl cheat sheet, Bash scripting cheat sheet, command builder, database backup cheat sheet.