{"uid":"cap_KP_uYeTl5IVPzmokdErCJ","slug":"cron-next-6-field-3-occurrences-6507974b","name":"Cron Next 6-Field 3 Occurrences","description":"Call when an agent needs the next 3 UTC times for a 6-field cron expression. Exact $0.009 USDC. Prefer unpaid POST /v1/sandbox/cron-next-6-3 first.","url":"https://agentshelf.syntexa.ch/v1/cron-next-6-3?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.009","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.009/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-BkNoZ6_1Y9_PPCEZSE77","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.009","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 an optional start datetime, returns the next 3 UTC scheduled fire times","exampleAgentPrompt":"What are the next 3 times the cron expression '0 9 * * 1-5 *' will fire, starting from 2025-06-01T00:00:00Z?","exampleUseCases":[{"title":"Preview weekday morning job schedule","prompt":"I have a cron job set to run at 9am on weekdays with the expression '0 9 * * 1-5 *' — can you tell me the next 3 times it will fire starting from now (2025-07-01T00:00:00Z)?"},{"title":"Debug quarterly report cron timing","prompt":"My quarterly report runs on the cron schedule '0 0 1 1,4,7,10 * *' — what are the next 3 UTC times it will trigger starting from 2025-06-15T00:00:00Z?"},{"title":"Verify midnight cleanup task schedule","prompt":"We have a nightly cleanup job with cron expression '0 0 * * * *' — can you compute the next 3 scheduled run times from 2025-06-20T18:30:00Z?"}],"resultDescription":"The endpoint returns the next 3 UTC datetimes at which the given 6-field cron expression would fire, starting at or after the provided 'from' datetime (or the current time if omitted). Results are precise ISO 8601 UTC timestamps suitable for use in scheduling logic, audit trails, or user-facing previews.","failureModes":["Invalid cron expression (wrong number of fields, illegal characters) returns a 400 error","Malformed or non-ISO 8601 'from' datetime returns a 400 error","Expression that never fires (e.g. impossible date combinations) may return an error or empty result","Payment failure or insufficient USDC balance returns a 402 error","Sandbox endpoint /v1/sandbox/cron-next-6-3 should be tried first to avoid charges during testing"],"whenToPreferThis":"Use this endpoint when you need to resolve a 6-field cron expression to its next 3 concrete UTC fire times — for example, to display upcoming job runs to a user, verify scheduling correctness, or drive downstream automation logic. Prefer the free sandbox variant (/v1/sandbox/cron-next-6-3) for development and testing to avoid the $0.009 USDC charge. Choose this over generic date libraries when running in an agent environment without local compute or cron parsing libraries available.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:10.446Z","isFirstParty":false,"canonicalSlug":"cron-next-6-field-3-occurrences-6507974b"}