§ htark / tools

§ cron

cron.

5-field cron parser with next-fire preview. Validates the syntax, prints a human-readable description, and walks the schedule forward to find the next 5 trigger times in both UTC and your local timezone.

accepts
standard 5-field cron: minute hour dom month dow. each field supports *, single value, range (a-b), step (* / n, a-b/n), comma list.
dom vs dow
uses Vixie cron semantics: when both day-of-month and day-of-week are restricted, a fire matches if either condition is met (logical OR).
does not accept
shortcuts like @daily / @reboot, named months/weekdays (JAN, MON), AWS / Quartz extensions, seconds field.