{"uid":"cap_AIiMtLLsNuPUSD8ap5-ok","slug":"cron-next-execution-time-calculator-8dc0cadf","name":"Cron Next Execution Time Calculator","description":"41 pay-per-call JSON APIs for AI agents. No account or API key: an unpaid POST returns HTTP 402, pay in USDC on Base with x402 v2, retry. Prices from $0.001 per call.","url":"https://x402-micro-pay.com/api/skills/cron-next?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"tz":{"type":"string","default":"UTC","maxLength":64,"minLength":1},"expr":{"type":"string","maxLength":200,"minLength":1},"from":{"type":"string","maxLength":64,"minLength":1},"count":{"type":"integer","default":5,"maximum":20,"minimum":1}}},"responseSchema":{"type":"json","example":{"ok":true,"tz":"America/Chicago","expr":"*/15 9-17 * * MON-FRI","from":"2026-10-16T12:42:00-05:00","next":["2026-10-16T12:45:00-05:00","2026-10-16T13:00:00-05:00","2026-10-16T13:15:00-05:00"],"count":3,"skill":"cron_next","fields":{"hour":[9,10,11,12,13,14,15,16,17],"month":[1,2,3,4,5,6,7,8,9,10,11,12],"minute":[0,15,30,45],"day_of_week":[1,2,3,4,5],"day_of_month":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]},"next_utc":["2026-10-16T17:45:00Z","2026-10-16T18:00:00Z","2026-10-16T18:15:00Z"],"normalized":"*/15 9-17 * * MON-FRI","next_epoch_s":[1792172700,1792173600,1792174500]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0031","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.0031/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0031","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0031","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_roatnM6NJWJoia6_X0ePx","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0031","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses a cron expression and returns the next N scheduled execution times in a given timezone, with UTC and epoch equivalents.","exampleAgentPrompt":"When will the cron expression '*/15 9-17 * * MON-FRI' next fire — give me the next 5 execution times in America/Chicago timezone starting from now?","exampleUseCases":[{"title":"Business hours job scheduling check","prompt":"I have a cron job set to run every 15 minutes during business hours on weekdays: '*/15 9-17 * * MON-FRI'. What are the next 5 times it will fire in the America/New_York timezone?"},{"title":"Midnight batch job next runs","prompt":"Can you tell me the next 10 times my nightly batch job will run? The cron expression is '0 0 * * *' and I'm in the Europe/London timezone."},{"title":"Verifying cron schedule before deployment","prompt":"Before I deploy this cron schedule, show me the next 3 execution times for '0 8 1 * *' starting from 2026-01-15T00:00:00Z in UTC so I can confirm it's set correctly."}],"resultDescription":"Returns a JSON object with: the next N execution timestamps in the requested timezone (ISO 8601), the same times in UTC, Unix epoch seconds, the normalized cron expression string, and a breakdown of individual cron fields (hours, minutes, days of week, etc.). Also echoes back the input timezone and expression for confirmation.","failureModes":["Invalid cron expression syntax returns an error response","Unrecognized or malformed timezone string causes failure","Count exceeding maximum of 20 is rejected","Malformed 'from' datetime string causes parsing error","HTTP 402 returned if payment is not included — must pay via x402 on Base before retrying"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to compute future cron trigger times on the fly without maintaining server infrastructure, especially useful for scheduling verification, auditing automation pipelines, or displaying human-readable upcoming job times to end users. Prefer this over manual cron parsing libraries when operating in a serverless or no-dependency context.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T12:40:18.336Z","isFirstParty":false,"canonicalSlug":"cron-next-execution-time-calculator-8dc0cadf"}