convex-cron-jobs

Schedule recurring Convex functions with interval or cron expressions.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Convex Cron Jobs provides a battle-tested pattern library for scheduling recurring backend tasks in Convex apps, enabling reliable automation and predictable execution.

Core Features & Use Cases

  • Flexible scheduling with interval and cron expressions to cover recurring workflows
  • Secure internal function invocation to protect access and enforce proper usage
  • Built-in guidance and examples for common tasks like data synchronization, cleanup, and reporting
  • Observability and best-practices guidance for production-grade cron jobs

Quick Start

Define cron jobs in convex/crons.ts using crons.interval or crons.cron to schedule internal tasks.

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 jobs in Convex?

Scheduling recurring backend tasks in Convex requires defining crons.interval or crons.cron expressions in the convex/crons.ts file. This pattern enables reliable automation for workflows like cleanup and data synchronization using UTC-based timing.

Can I use cron expressions for data synchronization and cleanup in Convex?

Yes, Convex supports cron expressions and fixed intervals for backend tasks like data synchronization and cleanup. The pattern library provides built-in guidance for secure internal function invocation, batching, and logging to ensure production-grade execution.

Do I need internal functions from the generated API to run cron jobs in Convex?

Yes, secure cron job execution in Convex requires using internal functions from the _generated API. This approach protects access and enforces proper usage, ensuring scheduled recurring tasks execute securely without exposing public endpoints.

What is the best way to monitor recurring scheduled tasks in a Convex application?

Monitoring recurring scheduled tasks in a Convex application involves following production-grade observability best practices. This includes implementing logging within your cron jobs and processing tasks in batches to ensure predictable, reliable execution.

Does Convex handle timezones automatically for scheduled cron jobs?

Convex handles scheduled cron jobs using UTC-based timing. When defining recurring tasks in convex/crons.ts, you must account for this UTC standard to ensure background jobs like reporting and monitoring execute at predictable intervals.