{"uid":"cap_lIcsV-xcDBxzmw9h7klzU","slug":"cron-next-6-5-next-5-utc-execution-times-for-6-field-cron-expression-f6977017","name":"Cron Next 6-5 — Next 5 UTC Execution Times for 6-Field Cron Expression","description":"Call when an agent needs the next 5 UTC times for a 6-field cron expression. Exact $0.01 USDC. Prefer unpaid POST /v1/sandbox/cron-next-6-5 first.","url":"https://agentshelf.syntexa.ch/v1/cron-next-6-5?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"from":{"type":"string","format":"date-time","examples":["2026-01-01T00:00:00.000Z"],"description":"ISO datetime to count forward from. Omit it to start at the current time."},"expression":{"type":"string","examples":["0 0 * * * *"],"maxLength":200,"minLength":1,"description":"Cron expression. The route says whether it is 5 fields or 6 fields. Example: 0 9 * * 1-5."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_UaUN98tGyVk246cQGEZDp","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Given a 6-field cron expression and a start datetime, returns the next 5 UTC times the cron job would fire.","exampleAgentPrompt":"What are the next 5 times this cron job will fire — the expression is '0 30 9 * * MON-FRI' — starting from 2025-06-01T00:00:00Z?","exampleUseCases":[{"title":"Preview weekday job schedule","prompt":"I have a cron expression '0 0 8 * * MON-FRI' — can you show me the next 5 times it will run, starting from 2025-07-01T00:00:00Z?"},{"title":"Debug unexpected cron timing","prompt":"I think my cron '0 15 14 1 * *' is running at the wrong times — can you tell me the next 5 UTC fire times starting from 2025-06-15T00:00:00Z so I can verify it?"},{"title":"Plan batch job execution window","prompt":"Our batch job uses cron '0 0 2 * * *' — what are the next 5 times it will trigger starting from 2025-06-10T12:00:00Z? I need to plan a maintenance window around it."}],"resultDescription":"Returns an ordered list of the next 5 UTC datetimes at which the provided 6-field cron expression would fire, calculated from the given start datetime.","failureModes":["Invalid or malformed cron expression returns an error","Expression with fewer or more than 6 fields is rejected","Invalid 'from' datetime format causes a parsing error","Cron expression that never fires (e.g. Feb 30) may return an error or empty result","Payment of $0.01 USDC not provided results in HTTP 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need to compute upcoming scheduled execution times for a 6-field cron expression (including seconds field) and want a deterministic, paid computation without running a cron library locally. Prefer the unpaid sandbox variant (POST /v1/sandbox/cron-next-6-5) for testing; use this paid endpoint for production agent workflows where reliability matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:17.417Z","isFirstParty":false,"canonicalSlug":"cron-next-6-5-next-5-utc-execution-times-for-6-field-cron-expression-f6977017"}