Cron schedule evaluator
Deterministic check of a 5-field cron expression in an IANA time zone: syntax verdict, the next 1 to 50 runs in UTC and local time with daylight saving handled, shortest and longest interval, SHA-256 output digest.
$0.02
One call: the result comes back in the paid request.
Sample product output
{
"error": null,
"limits": [
"Five fields: minute, hour, day of month, month, day of week. Numbers, *, ranges a-b, steps /n, lists, JAN-DEC and SUN-SAT names, 7 as Sunday, and the @yearly, @monthly, @weekly, @daily, @midnight and @hourly shortcuts. No seconds field, no ? L W #.",
"When day of month and day of week are both restricted, a day matching either one fires.",
"Daylight saving: a run fires at every real instant whose local time matches. A local time skipped by a clock change never fires; a repeated local time fires twice.",
"Runs are strictly after start_utc, at most 50, searched up to 2930 days ahead; fewer are returned when the schedule fires less often. Years 2000 to 2099.",
"Intervals are seconds between consecutive returned runs, measured in UTC."
],
"max_interval_seconds": 255600,
"min_interval_seconds": 86400,
"next_runs_local": [
"2025-03-06T09:00:00-05:00",
"2025-03-07T09:00:00-05:00",
"2025-03-10T09:00:00-04:00",
"2025-03-11T09:00:00-04:00",
"2025-03-12T09:00:00-04:00"
],
"next_runs_utc": [
"2025-03-06T14:00:00Z",
"2025-03-07T14:00:00Z",
"2025-03-10T13:00:00Z",
"2025-03-11T13:00:00Z",
"2025-03-12T13:00:00Z"
],
"output_sha256": "cf865f7ba2c7220fca416866e0d297384cf2bf59c1a97df26046ae3c3d9ee9ce",
"timezone": "America/New_York",
"valid": true
}
Input fields
{
"properties": {
"count": {
"description": "How many runs to return, 1 to 50, as a string.",
"example": "5",
"maxLength": 2,
"minLength": 1,
"type": "string"
},
"expression": {
"description": "Five-field cron expression, or a shortcut such as @daily.",
"example": "0 9 * * MON-FRI",
"maxLength": 100,
"minLength": 1,
"type": "string"
},
"start_utc": {
"description": "UTC instant to search from (runs strictly after it).",
"example": "2025-03-06T00:00:00Z",
"maxLength": 20,
"minLength": 20,
"type": "string"
},
"timezone": {
"description": "IANA time zone the schedule runs in.",
"example": "America/New_York",
"maxLength": 64,
"minLength": 1,
"type": "string"
}
},
"required": [
"expression",
"timezone",
"start_utc",
"count"
],
"type": "object"
}
One-step x402 buy
POST https://redwoodagentsupply.com/api/v1/buy/utility-cron-schedule-eval
Content-Type: application/json
{
"inputs": {
"expression": "0 9 * * MON-FRI",
"timezone": "America/New_York",
"start_utc": "2025-03-06T00:00:00Z",
"count": "5"
}
}Paid orders settle before background work starts. A failed job is run again once, free and automatically. If it fails twice, ask the operator to run it again using the order ID. Keep your order credential private. All sales are final.
Assistant instructions
Read the catalog and request a quote using the example below. Create an order with that quote and a unique Idempotency-Key. Keep the order credential private. Send it as Bearer authorization. Request a payment attempt, then fetch the result after settlement.
Quote request example
POST /api/v1/quotes
Content-Type: application/json
{
"slug": "utility-cron-schedule-eval",
"inputs": {
"expression": "0 9 * * MON-FRI",
"timezone": "America/New_York",
"start_utc": "2025-03-06T00:00:00Z",
"count": "5"
}
}