How to use OnCalendar
- 1. Paste 5-field cron. Same as crontab.
- 2. Read OnCalendar=. Weekdays become Sun–Sat names when numeric.
- 3. Use Cron Explained for next runs. This tool does not expand occurrences.
- 4. No systemd on the server. Copy into a .timer unit yourself.
About this tool
crontab and systemd timers speak different dialects. This translator maps a 5-field cron to a plausible OnCalendar= line so you can paste it into a .timer unit. Lists and ranges in DOW are comma-joined; steps are not fully modeled.
Limitations
*/15 and 1-5/2 are not expanded. Prefer Cron Explained for human text of the cron itself.
Timezone
systemd uses the unit’s timezone. This string is naive.
Code examples
Cron
0 9 * * 1-5