convex-cron-jobs

Schedule recurring Convex functions with interval and cron expressions.

1|Updated Jan 22, 2026
One-click install
npx skills add https://github.com/blocknavi/convex-batch-processor --skill convex-cron-jobs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-cron-jobs
Source: https://github.com/blocknavi/convex-batch-processor/tree/main/.claude/skills/convex-cron-jobs
Command: npx skills add https://github.com/blocknavi/convex-batch-processor --skill convex-cron-jobs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Convex cron jobs provide a structured way to run recurring functions, ensuring timely execution of maintenance, data syncs, and reports without custom scheduling logic.

Core Features & Use Cases

  • Interval-based and cron-expression scheduling for Convex functions.
  • Automatic retries and simple monitoring for background jobs.
  • Use cases include periodic data synchronization, cleanup tasks, and automated reporting.

Quick Start

Create a convex/crons.ts file and register intervals or cron expressions using crons.interval or crons.cron with a name and internal function. For example, schedule a daily data sync by wiring internal APIs to a cron to run at a fixed UTC time.

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 Convex functions using cron expressions?

To schedule recurring Convex functions, create a convex/crons.ts file and register cron expressions or intervals using crons.cron or crons.interval with a named internal function. This automates recurring background jobs without custom scheduling logic.

What is the best way to run periodic data synchronization in a Convex application?

The best way to run periodic data synchronization in a Convex application is wiring internal APIs to a cron schedule. By configuring crons.interval in convex/crons.ts, recurring data syncs execute automatically at fixed UTC times.

Can I set up automatic retries and monitoring for Convex background jobs?

Yes, scheduled Convex background jobs support automatic retries and simple monitoring. Defining recurring tasks through crons.ts ensures interval-based and cron-expression schedules execute reliably with built-in retry capabilities for maintenance tasks.

Do I need external libraries to automate cleanup tasks and reporting in Convex?

No, you do not need external libraries to automate cleanup tasks and reporting in Convex. The platform relies on native server cronJobs and internal APIs to define and execute scheduled tasks directly within the application.

What are the limitations of using Convex server cronJobs for background scheduling?

Convex server cronJobs are designed for structured recurring execution of maintenance and reports. Limitations include relying strictly on interval-based and cron-expression patterns within the Convex environment rather than supporting custom external scheduling logic.