Cron
5 fields: minute hour day-of-month month day-of-week
croncal
Translate OnCalendar= calendar events and 5-field crontab both ways. Live, in the browser — no server, no Crontab Guru blind spot for systemd.
5 fields: minute hour day-of-month month day-of-week
Weekday Year-Month-Day Hour:Minute:Second
Type a cron expression or an OnCalendar= value to see the translation.
0 and 7 for Sunday, 1 = Monday …
6 = Saturday. systemd uses English names (Mon…Sun),
and the weekly shortcut is Monday 00:00 — while cron
@weekly is Sunday 00:00.
1-5, */15, 1-10/2).
systemd ranges use .. (Mon..Fri, 01..07) and
steps as a suffix (00/15, 1/2). Star-plus-step in systemd
is written from the start value, e.g. *:00/15 not */15.
30 4 1,15 * 5 = the 1st, the 15th, and also every Friday).
systemd ANDs weekday and date in one OnCalendar= (Fri *-*-01,15
only on Fridays that are the 1st or 15th). Multiple OnCalendar= lines in one
timer unit are OR’d — that is the correct mapping for cron’s OR.
~
(*-02~03 = third-last day of February). Standard 5-field cron cannot
express those. Timezones belong in CRON_TZ=, not in the five fields.
L/W/#,
6-field “seconds or year” crons, @reboot (use OnBootSec=),
monotonic timers (OnUnitActiveSec=), or exotic fractional-second repeats.