convex-cron-jobs

Schedule recurring Convex functions using crons.interval and crons.cron expressions.

1|1|Updated Feb 24, 2026
One-click install
npx skills add https://github.com/openridesph/openrides --skill convex-cron-jobs-openridesph
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-cron-jobs
Source: https://github.com/openridesph/openrides/tree/main/.agents/skills/convex-cron-jobs
Command: npx skills add https://github.com/openridesph/openrides --skill convex-cron-jobs-openridesph

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scheduling and automating recurring Convex functions to run on predictable intervals or at specific times, reducing manual maintenance and ensuring timely processing.

Core Features & Use Cases

  • Interval-based scheduling using crons.interval for periodic tasks (e.g., data sync, cleanup, health checks)
  • Cron expression scheduling using crons.cron for precise timing (e.g., daily reports, weekly summaries)
  • Best practices and monitoring guidance, including using internal functions for security and logging for observability

Quick Start

Configure a cron to run a daily data aggregation task using internal Convex functions.

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 to run automatically?

Schedule recurring Convex functions automatically by configuring crons.interval for periodic tasks like data syncing or crons.cron with UTC timing for precise daily reporting, ensuring reliable backend automation without manual maintenance.

What is the difference between crons.interval and crons.cron in Convex backend tasks?

Convex cron scheduling uses crons.interval for periodic execution at set frequencies and crons.cron for precise timing via cron expressions in UTC, supporting tasks from health checks to weekly summaries.

Do I need to use internal functions for Convex cron jobs?

Convex cron jobs require internal functions imported from the generated API directory to ensure security, as scheduled backend tasks like cleanup and data syncing should not be exposed as public endpoints.

How do I handle errors and monitor background jobs in Convex?

Handle Convex background job errors by implementing robust error handling, adding logging for observability, and applying batching for large data processing tasks to maintain reliable scheduled execution.

Can I use cron expressions for daily reports and weekly summaries in Convex?

Convex supports cron expressions via crons.cron with UTC timing to schedule daily reports and weekly summaries precisely, automating data aggregation tasks on predictable schedules.