convex-cron-jobs

Schedule and monitor recurring background tasks in Convex apps.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/JuanQuenga/piggies-ts --skill convex-cron-jobs-juanquenga
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-cron-jobs
Source: https://github.com/JuanQuenga/piggies-ts/tree/main/.agents/skills/convex-cron-jobs
Command: npx skills add https://github.com/JuanQuenga/piggies-ts --skill convex-cron-jobs-juanquenga

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scheduling recurring Convex tasks and monitoring cron jobs in a safe, scalable way.

Core Features & Use Cases

  • Interval scheduling for recurring tasks
  • Cron expression scheduling for precise times
  • Monitoring, retries, and safe execution patterns
  • Best practices for long-running tasks

Quick Start

Define cron patterns in convex/crons.ts using crons.interval and crons.cron to schedule and monitor background work.

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?

Schedule recurring background tasks in Convex by defining UTC cron expressions and interval timers within the convex/crons.ts file. This automates periodic maintenance, data syncing, reporting, and health checks across backend services.

What is the best way to monitor cron jobs in a Convex backend?

Monitor cron jobs in a Convex backend by implementing robust logging, error handling, and safe execution patterns. These practices ensure reliable execution and tracking for scheduled background work.

Can I use cron expressions for precise scheduling in Convex?

Yes, you can use UTC cron expressions for precise scheduling in Convex. The system supports both interval scheduling for recurring tasks and cron expressions for executing jobs at exact times.

How do I handle large workloads in scheduled Convex tasks?

Handle large workloads in scheduled Convex tasks by applying careful batching within internal API functions. This approach manages data volume safely during background processing.

What are the limitations when running long-running tasks in Convex?

Long-running tasks in Convex require best practices for safe execution, including careful batching, robust error handling, and security practices to manage workload limits and ensure reliable background processing.