Scheduled function patterns for background tasks including interval scheduling, cron expressions, job monitoring, retry strategies, and best practices for…
Convex Cron Jobs
Schedule recurring functions for background tasks, cleanup jobs, data syncing, and automated workflows in Convex applications.
Documentation Sources
Before implementing, do not assume; fetch the latest documentation:
Primary: https://docs.convex.dev/scheduling/cron-jobs
Scheduling Overview: https://docs.convex.dev/scheduling
Scheduled Functions: https://docs.convex.dev/scheduling/scheduled-functions
For broader context: https://docs.convex.dev/llms.txt
Instructions
Cron Jobs Overview
Convex cron jobs allow you to schedule functions to run at regular intervals or specific times. Key features:
related skills
semantically similar in the cross-vendor index
don't have the plugin yet? install it then click "run inline in claude" again.
+identifies two distinct scheduling modes (intervals and cron expressions) with timezone awareness
+mentions practical use cases (cleanup, syncing, batch processing, api calls) that ground the skill in real scenarios
+acknowledges scaling concerns via pagination and batching to prevent timeouts
weaknesses
~incomplete implementation: skill.md cuts off at 'Key features:' with no actual procedure steps, examples, or decision points
~vague trigger phrases ('background tasks', 'cleanup operations') lack specificity; no concrete examples like 'delete expired sessions every 6 hours' or 'sync invoices via stripe webhook'
~edge case handling is implicit (mentions pagination/batching for timeouts) but lacks explicit coverage of failure modes, retry logic, or monitoring alerts beyond 'dashboard logging'