utilpeek: list the next run times of a cron expression
cron_next_runsCalculate upcoming run times for a 5-field cron expression or macro, using optional start time, timezone, and count.
Instructions
utilpeek: the next run times of a cron expression. For iCalendar RRULEs use expand_rrule. Standard 5-field cron (minute hour day-of-month month day-of-week) or a macro (@daily, @hourly, ...); no seconds or year fields, no R/H/W. Day-of-month and day-of-week use Vixie OR semantics; an expression that never fires (Feb 30) is a 422 no_next_run (not charged); rare ones return what exists with exhausted: true. An invalid expression, start or zone is a 422 (not charged). Typically under 0.1 s. Price: USD 0.001. Free: 10 utilpeek calls per IP per UTC day. Docs: https://tanod.dev/learn/cron-next-run-api.html
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of next runs (1-50, default 10). | |
| start | No | Optional ISO 8601 start (default now). | |
| timezone | No | Optional IANA time zone (default UTC). | |
| expression | Yes | 5-field cron expression or macro, e.g. */15 9-17 * * MON-FRI. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runs | No | ||
| count | No | ||
| error | No | Only on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object. | |
| start | No | ||
| source | No | ||
| timezone | No | ||
| exhausted | No | ||
| expression | No |