What problem does it solve? Automating recurring background work in Convex applications—such as cleanup jobs, data syncing, and scheduled reports—requires correct cron configuration, internal function security, and failure handling that developers often get wrong. ## Core Features & Use Cases - Interval and Cron Scheduling: Configure recurring jobs with crons.interval for fixed periods or crons.cron for precise cron expressions in UTC. - Secure Internal Functions: Route all cron-triggered work through internal mutations and actions, including external API calls via Node actions. - Batching and Monitoring: Process large datasets in paginated batches with self-scheduling continuation, and log job execution metrics to a cronLogs table. - Use Case: Build a maintenance system that deletes expired sessions hourly, syncs external data every 15 minutes, and generates a weekly analytics report every Monday at 9 AM UTC. ## Quick Start Set up a Convex cron job that runs an internal cleanup mutation every hour and logs its execution results.