Every 15 minutes, between 08:00 and 17:59, on Monday through Friday
*/15Minute
8-17Hour
*Day of month
*Month
1-5Day of week
Cron explainer
Linux crontab syntax: minute, hour, day of month, month, day of week. Calculated in your browser.
Every 15 minutes, between 08:00 and 17:59, on Monday through Friday
Times skipped by a daylight-saving change are not listed (cronie runs them right after the switch).
| Minute | */15 | every 15 |
|---|---|---|
| Hour | 8-17 | 8–17 |
| Day of month | * | every |
| Month | * | every |
| Day of week | 1-5 | Mon–Fri |
systemd timer
OnCalendar=Mon..Fri *-*-* 08..17:00/15:00⚠
┌───────────── 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 = Sunday) │ │ │ │ │ * * * * * command
If both day of month and day of week are restricted, cron runs when either matches. Cron uses the server's time zone (or CRON_TZ= in the crontab).
$ curl tools.otw.solutions/cron/*/15_8-17_*_*_1-5Or with spaces: curl "tools.otw.solutions/cron?e=0+3+*+*+1-5" · JSON: add ?format=json