convex-cron-jobs

Schedule recurring Convex functions with interval or cron expressions.

Updated Apr 7, 2026
One-click install
npx skills add https://github.com/Yahia89/ordering-food --skill convex-cron-jobs-yahia89
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-cron-jobs
Source: https://github.com/Yahia89/ordering-food/tree/main/.claude/skills/convex-cron-jobs
Command: npx skills add https://github.com/Yahia89/ordering-food --skill convex-cron-jobs-yahia89

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Convex cron jobs provide a reliable way to schedule recurring background tasks within Convex apps, eliminating ad-hoc timers and external schedulers while offering built-in retries and monitoring.

Core Features & Use Cases

  • Interval and cron-based scheduling for recurring functions
  • Automatic retries and dashboard monitoring for reliability
  • Encourages security by invoking internal functions and supporting batching for large datasets
  • Use cases include data synchronization, cleanup tasks, reports generation, and routine maintenance

Quick Start

Define a convex cron using cronJobs in convex/crons.ts and schedule a simple interval task to run every hour.

Frequently Asked Questions about convex-cron-jobs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I schedule recurring background tasks in Convex without external schedulers?

You can schedule recurring background tasks in Convex by defining cron jobs in the convex/crons.ts file, which eliminates the need for ad-hoc timers or external schedulers while providing built-in retries and dashboard monitoring.

Can I use cron expressions for scheduling data synchronization in Convex apps?

Yes, Convex supports both interval-based and cron-based scheduling for recurring functions. This allows you to automate data synchronization, cleanup, and report generation across your Convex apps using standard cron expressions.

What is the best way to handle large dataset processing in Convex cron jobs?

The best way to handle large datasets in Convex cron jobs is by using the built-in batching support. This allows your scheduled background tasks to process data efficiently while maintaining reliable logging and error handling for production use.

How do I secure internal functions triggered by Convex cron jobs?

Convex cron jobs enforce security by invoking internal functions directly. This ensures that your scheduled background tasks, such as routine maintenance and analytics, run securely without exposing external API endpoints.

Does Convex provide monitoring and error handling for scheduled cron jobs?

Yes, Convex provides automatic retries, dashboard monitoring, and error handling for scheduled cron jobs. This ensures reliable production use for recurring tasks like data synchronization and cleanup operations.