{"uid":"cap_v3fwv5_IcteboyxY_JfPA","slug":"cron-expression-parser-next-run-calculator-2f58e791","name":"Cron Expression Parser & Next-Run Calculator","description":"Parse and validate a cron expression — returns the next N run times as ISO timestamps in any IANA timezone. Cron schedule checker.","url":"https://toolbelt402.tpoborne.workers.dev/cron/next","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["expr"],"properties":{"n":{"type":"string","description":"How many runs (default 5, max 100)"},"tz":{"type":"string","description":"IANA timezone (default UTC)"},"expr":{"type":"string","description":"Cron expression"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_LClgRaEbET85VIzDRYk8X","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses and validates a cron expression, returning the next N scheduled run times as ISO 8601 timestamps in any IANA timezone.","exampleAgentPrompt":"Can you parse my cron expression '0 9 * * 1-5' and show me the next 10 run times in America/New_York timezone?","exampleUseCases":[{"title":"Debugging a misconfigured cron job","prompt":"My cron job is set to '0 0 30 2 *' and it never seems to fire — can you validate that expression and show me when it would next run, if ever?"},{"title":"Previewing a new deployment schedule","prompt":"I'm setting up a job with the cron expression '15 3 * * 0' — can you give me the next 7 run times in Europe/London so I can confirm it runs on Sunday nights?"},{"title":"Verifying a billing job schedule","prompt":"We run billing with '0 8 1 * *' — show me the next 5 times it'll fire in America/Chicago so I can make sure it lines up with our billing cycle."}],"resultDescription":"Returns an array of the next N ISO 8601 timestamps representing when the cron expression will trigger, calculated in the specified IANA timezone. Includes validation feedback if the expression is malformed.","failureModes":["Invalid cron expression returns an error indicating the expression could not be parsed","Unsupported or misspelled IANA timezone returns a timezone-not-found error","Requesting more than 100 runs (max) returns a validation error","Missing required 'expr' query parameter returns a 400 bad request","Extremely sparse cron schedules (e.g. every Feb 30) may return zero or few results"],"whenToPreferThis":"Use this endpoint when you need to quickly validate or preview cron schedules without running a live cron daemon or installing a library. Ideal for agents automating DevOps workflows, checking job configurations, or building scheduling UIs where users need to confirm what times their cron expression will fire in a specific timezone.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:31:37.820Z","isFirstParty":false}