{"uid":"cap_5Qy7sKZUlV7jPm39UHgt8","slug":"cron-next-runs-calculator-d6600049","name":"Cron Next Runs Calculator","description":"Next N run times for a 5-field cron expression in a chosen UTC offset, with the day-of-month/day-of-week OR rule.","url":"https://dev-utils.x402tookit.com/cron-next-runs?utm_source=zero.xyz","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":"integer","description":"How many runs, 1-30, default 5"},"expr":{"type":"string","description":"Cron: minute hour day-of-month month day-of-week (or @daily etc.)"},"from":{"type":"string","description":"ISO time to count from (exclusive), default now"},"utc_offset":{"type":"string","description":"Fixed offset like +05:30 or -0800, default +00:00"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"source":{"type":["null","string"]},"dayRule":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"runsUtc":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"runsLocal":{"type":["array","null"],"items":{"type":"string"}},"utcOffset":{"type":["null","string"]},"disclaimer":{"type":["null","string"]},"expression":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"countedFrom":{"type":["null","string"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_4BO0eCGUR4mB3sR7wf_ZV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the next N scheduled run times for a 5-field cron expression at a given UTC offset, applying the standard day-of-month/day-of-week OR rule","exampleAgentPrompt":"Show me the next 10 run times for the cron expression '0 9 * * 1-5' starting from now, using UTC+05:30 as the local offset.","exampleUseCases":[{"title":"Verify weekday morning job schedule","prompt":"What are the next 7 times '0 8 * * 1-5' will fire if I'm in the UTC-05:00 timezone? I want to make sure it runs at 8am on weekdays only."},{"title":"Debug monthly cleanup cron timing","prompt":"Can you show me the next 5 run times for the cron '0 0 1 * *' in UTC+00:00 so I can confirm my monthly cleanup job fires at midnight on the first of each month?"},{"title":"Preview high-frequency job executions","prompt":"List the next 15 scheduled runs for '*/10 * * * *' starting from 2024-06-01T00:00:00Z, displayed in UTC+09:00 local time."}],"resultDescription":"Returns an array of upcoming run times in both UTC and local offset format, along with the parsed cron expression, the UTC offset used, the start timestamp counted from, the day-of-month/day-of-week OR rule applied, a human-readable summary, and optional warnings or reasons if the result is degraded or partially unchecked.","failureModes":["Invalid cron expression returns an error or degraded result with reasons explaining the parse failure","n outside 1-30 range may be clamped or rejected","Malformed UTC offset string causes offset to default to +00:00 or returns an error","Unsupported shorthand aliases may not be recognized","from timestamp in incorrect ISO format may cause a parsing error"],"whenToPreferThis":"Use this endpoint when you need to preview, verify, or debug when a cron job will actually fire — especially useful when accounting for a specific timezone offset or when you need more than one future run time. Prefer this over manual cron parsing when the day-of-month and day-of-week OR interaction matters or when you need local-time representations alongside UTC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T12:30:51.184Z","isFirstParty":false,"canonicalSlug":"cron-next-runs-calculator-d6600049"}