convex-cron-jobs

Schedule recurring Python functions in your app with cron expressions.

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/pratikpakhale/convex-next-starter --skill convex-cron-jobs-pratikpakhale
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-cron-jobs
Source: https://github.com/pratikpakhale/convex-next-starter/tree/main/.agent/skills/convex/modules/convex-cron-jobs
Command: npx skills add https://github.com/pratikpakhale/convex-next-starter --skill convex-cron-jobs-pratikpakhale

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates recurring tasks within your Convex application, ensuring background processes run reliably without manual intervention.

Core Features & Use Cases

  • Scheduled Execution: Define functions to run at specific intervals or cron times.
  • Background Tasks: Ideal for data syncing, cleanup jobs, report generation, and automated workflows.
  • Use Case: Automatically generate a daily sales report every morning at 6 AM UTC, or clean up expired user sessions every hour.

Quick Start

Configure a cron job to run the cleanupExpiredSessions internal mutation every hour.

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 background tasks in Convex?

Scheduling background tasks in Convex is done by defining functions to run at specific intervals or cron times. This Skill automates recurring internal mutations and queries for background processing without manual intervention.

Can I use cron expressions for automated report generation in a serverless application?

Yes, you can use cron expressions for automated report generation in serverless environments. This Skill supports cron expression scheduling to execute functions at exact times, such as generating daily reports at 6 AM UTC.

What's the best way to automate recurring data synchronization without manual intervention?

Automating recurring data synchronization without manual intervention is achieved by configuring interval-based scheduled functions. This approach integrates with Convex's internal API to securely execute background jobs reliably.

Does Convex support interval-based scheduling for system maintenance and cleanup jobs?

Yes, Convex supports interval-based scheduling for system maintenance and cleanup jobs. This Skill allows you to run internal mutations periodically, making it ideal for cleaning up expired user sessions or performing routine maintenance.

When should I not use serverless cron jobs for background automation?

You should avoid using serverless cron jobs for background automation if your tasks require complex state management or long-running executions beyond standard serverless limits. This Skill is designed for straightforward recurring functions within the Convex environment.