{"uid":"cap_yU6rn5R3DDDxXBNFfydJB","slug":"agentcron-persistent-cron-scheduler-for-ai-agents-d18537c0","name":"AgentCron — Persistent Cron Scheduler for AI Agents","description":"Register a persistent cron schedule that survives session termination. Agent specifies URL, HTTP method, interval, and duration. Runs even when the agent is offline.","url":"https://cron.memoryapi.org/x402/cron/register","method":"GET","headers":{},"bodySchema":{"properties":{"input":{"required":["method"],"properties":{"method":{"enum":["GET"],"type":"string"}}}}},"responseSchema":{"example":{"message":"Schedule registered. Will call your URL every 60 minutes for 7 days.","success":true,"expires_at":"2026-01-08T00:00:00Z","schedule_id":"uuid","first_run_at":"2026-01-01T01:00:00Z","duration_days":7,"interval_minutes":60,"executions_expected":168}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oUUs6vA_F2rc2GnIp4NXF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Registers a persistent scheduled task that calls a target URL at a specified interval for a set duration, surviving agent session termination","exampleAgentPrompt":"Set up a persistent cron job that calls https://my-service.example.com/hourly-check every 60 minutes for 7 days, starting now — I need it to keep running even after this session ends.","exampleUseCases":[{"title":"Hourly webhook polling after session","prompt":"Register a recurring task that hits my webhook at https://pipeline.example.com/poll every 30 minutes for the next 14 days — it needs to keep running even if my agent goes offline between checks."},{"title":"Daily report generation callback","prompt":"Schedule a persistent cron job to call https://reports.example.com/generate-daily every 1440 minutes for 30 days so my daily summaries keep getting generated automatically, even when I'm not around."},{"title":"Background health check automation","prompt":"Set up a long-running scheduled callback to https://monitor.example.com/health-ping every 15 minutes for 3 days — I need this to survive after my current session ends so nothing gets missed."}],"resultDescription":"Returns a JSON object confirming the schedule was registered, including a unique schedule_id (UUID), the first_run_at timestamp, expires_at date, interval_minutes, duration_days, and executions_expected count (e.g. 168 for 60-minute interval over 7 days).","failureModes":["Payment failure — insufficient USDC balance or x402 payment not accepted, returns 402","Invalid callback URL — malformed or unreachable target URL rejected","Invalid interval or duration parameters — out-of-range values rejected","Duplicate registration — same URL/interval combination may be rejected or create a new schedule","Service unavailable — cron.memoryapi.org unreachable returns 5xx"],"whenToPreferThis":"Use this endpoint when an AI agent needs to schedule recurring tasks that must persist beyond the current session, especially when the agent may go offline between executions. Ideal for polling, periodic callbacks, or time-based automation that requires guaranteed execution without the agent being active. Prefer over in-process timers or local cron when reliability across sessions and agent restarts is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:34:06.451Z","isFirstParty":false}