convex-cron-jobs

Implement scheduled background functions for Convex applications with cron expressions.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the complexity of managing recurring background tasks, such as data cleanup, report generation, and external API synchronization, ensuring they run reliably within a Convex application.

Core Features & Use Cases

  • Flexible Scheduling: Supports both simple interval-based tasks and complex cron expressions for precise timing.
  • Reliable Execution: Includes built-in support for automatic retries, job monitoring, and error logging.
  • Use Case: Automatically trigger a daily report generation at midnight or clean up expired user sessions every hour to maintain database performance.

Quick Start

Use the convex-cron-jobs skill to configure a new interval-based task that runs a cleanup function every six hours.

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 a Convex application?

You can schedule recurring background tasks in a Convex application by using cron expressions and interval-based triggers to automate operations like session cleanup and report generation. This Skill manages the scheduling logic and triggers internal functions reliably.

What is the best way to automate database cleanup with Convex cron jobs?

Automating database cleanup with Convex cron jobs is best handled by configuring interval-based triggers that execute batch processing functions. This approach ensures robust execution for large datasets and includes integrated error logging for maintenance tasks.

Can I use cron expressions for precise scheduling in Convex?

Yes, you can use cron expressions for precise scheduling in Convex. This Skill supports complex cron expressions alongside simple interval-based tasks, allowing you to trigger operations like daily report generation at exact times such as midnight.

Does Convex support automatic retries and error logging for scheduled functions?

Convex supports automatic retries, job monitoring, and error logging for scheduled functions through internal function calls. This ensures reliable execution of recurring automation and external data synchronization tasks without manual intervention.

How do I handle batch processing for large datasets in Convex background jobs?

Handling batch processing for large datasets in Convex background jobs is managed by the Skill's internal function calls. It processes large volumes of data during recurring tasks like data synchronization, ensuring robust execution and integrated error logging.