convex-cron-jobs

Schedule and monitor recurring Convex tasks with cronJobs and internal functions.

Updated Mar 6, 2026
One-click install
npx skills add https://github.com/mmtftr/bakathon --skill convex-cron-jobs-mmtftr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-cron-jobs
Source: https://github.com/mmtftr/bakathon/tree/main/.opencode/skills/convex-cron-jobs
Command: npx skills add https://github.com/mmtftr/bakathon --skill convex-cron-jobs-mmtftr

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Convex Cron Jobs provides reliable patterns for scheduling recurring background tasks in Convex applications, reducing manual wiring and ensuring predictable execution windows.

Core Features & Use Cases

  • Interval and cron-based scheduling via crons.interval and crons.cron for recurring tasks across services.
  • Built-in retry strategies, monitoring dashboards, and safe execution using internal functions.
  • Examples cover data syncing, cleanup tasks, report generation, and long-running workflows with batching.

Quick Start

Configure a cron job by importing cronJobs from convex/server and defining an interval or cron entry that targets an internal function, then deploy to Convex to start automated 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 tasks in Convex?

To schedule recurring background tasks in Convex, import cronJobs from convex/server and define entries using crons.interval or crons.cron to target internal functions, then deploy your application to start automated execution.

How do I set up an interval-based cron job in Convex?

To set up an interval-based cron job in Convex, import cronJobs from convex/server and use crons.interval to define the recurring schedule targeting an internal function. Deploy your Convex application to start the automated background task.

Can I use Convex cron jobs for long-running workflows and batching?

Yes, Convex cron jobs support long-running workflows with batching. The scheduling patterns target internal functions to safely execute batch processes, data syncing, and cleanup tasks across your services.

Does Convex cron scheduling include retry logic and monitoring?

Yes, Convex cron scheduling includes built-in retry strategies and operational monitoring. It calls internal functions for secure execution and provides logging to track recurring background tasks.

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

Yes, you need to use internal functions for Convex background jobs. The scheduling implementation targets internal functions to ensure safe execution and prevent unauthorized external calls to your recurring tasks.

How does UTC timezone management work with Convex cron jobs?

UTC timezone management ensures predictable execution windows for Convex cron jobs. By standardizing on UTC, your interval-based and cron-based background tasks execute consistently regardless of server location or daylight saving changes.