{"uid":"cap_0ZyAuxBK2eJaVnH54is6J","slug":"agent402-uk-cron-expression-validator-next-fire-times-9b968428","name":"Agent402 UK Cron Expression Validator & Next Fire Times","description":"Don't burn tokens on deterministic work. Go/no-go jobs first: payout preflight, text firewall (PII/secrets), budget check — then rails, calendars, finmath. x402 USDC on Base. UK + global. agent402.co.uk — not agent402.tools. $0.001–$0.002 USDC on Base. No API keys.","url":"https://agent402.co.uk/v1/time/cron?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"tz":{"type":"string","description":"IANA timezone (default UTC)"},"from":{"type":"string","description":"ISO origin for next fires (default now)"},"count":{"type":"number","description":"How many next runs (1-50)"},"expression":{"type":"string","description":"Cron expression (5 or 6 field)"}}},"responseSchema":{"type":"json","example":{"from":"2026-08-11T00:00:00.000Z","next":["2026-08-11T08:00:00.000Z","2026-08-12T08:00:00.000Z"],"count":5,"valid":true,"timezone":"Europe/London","expression":"0 9 * * 1-5","normalized":"0 9 * * 1-5"}},"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":"down","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_gzHEwXpZIsJ-4B3VlImB0","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":"Validates a cron expression and returns the next N scheduled fire times in a specified IANA timezone, optionally starting from a given ISO datetime.","exampleAgentPrompt":"Can you validate the cron expression '0 9 * * 1-5' and show me the next 5 fire times in Europe/London timezone, starting from 2026-08-11?","exampleUseCases":[{"title":"Verify weekday morning job schedule","prompt":"I'm setting up a job that should run at 9am every weekday in London. Can you validate the cron expression '0 9 * * 1-5' and show me the next 10 fire times in Europe/London timezone so I can confirm it's right?"},{"title":"Debug a complex cron before deploying","prompt":"Before I deploy this cron job, can you check whether '30 4 1,15 * *' is valid and tell me the next 5 times it would fire in America/New_York timezone starting from 2026-09-01?"},{"title":"Preview scheduler loop execution times","prompt":"I'm building a scheduler loop and need to preview exactly when '*/15 * * * *' will fire — can you give me the next 20 run times in UTC so I can plan my retry windows?"}],"resultDescription":"Returns a JSON object containing: the origin datetime used ('from'), an array of next fire times as ISO strings ('next'), the requested count, a 'valid' boolean indicating whether the cron expression is syntactically correct, the resolved IANA timezone, the original expression, and a normalized form of the expression.","failureModes":["Invalid cron expression returns valid:false with no fire times","Count outside 1–50 range may return a validation error","Unrecognized IANA timezone string causes an error","Malformed ISO 'from' datetime causes a parse error","Missing required 'expression' field returns an error response"],"whenToPreferThis":"Use this endpoint when you need deterministic, IANA timezone-aware cron schedule validation and fire-time preview — particularly inside scheduler loops, deployment pipelines, or agent workflows that need to confirm schedule correctness before committing. Prefer this over client-side cron libraries when you need authoritative server-side validation with timezone normalization, or when the agent runtime lacks a reliable cron parser.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T22:26:57.143Z","isFirstParty":false,"canonicalSlug":"agent402-uk-cron-expression-validator-next-fire-times-9b968428"}