convex-cron-jobs

Schedule recurring functions in Convex applications using cron expressions.

Updated Aug 30, 2025
One-click install
npx skills add https://github.com/kristofferaas/deep-stortinget --skill convex-cron-jobs-kristofferaas
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: convex-cron-jobs
Source: https://github.com/kristofferaas/deep-stortinget/tree/main/.agents/skills/convex-cron-jobs
Command: npx skills add https://github.com/kristofferaas/deep-stortinget --skill convex-cron-jobs-kristofferaas

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

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: Run functions at fixed intervals or specific times using cron expressions.
  • Background Tasks: Ideal for data syncing, cleanup jobs, report generation, and automated workflows.
  • Use Case: Automatically clean up expired user sessions every hour or generate a daily analytics report at midnight UTC.

Quick Start

Configure a cron job to run the cleanupExpiredSessions internal function 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 recurring background jobs in Convex?▼

You can schedule recurring background jobs in Convex by configuring interval-based execution or using cron expressions to automate workflows like data syncing and report generation without manual intervention.

Can I use cron expressions for specific time scheduling in Convex applications?▼

Yes, cron expressions are supported for specific time scheduling in Convex applications, allowing you to run functions at precise moments like generating a daily analytics report at midnight UTC.

What is the best way to automate cleanup tasks in a serverless Convex backend?▼

Automating cleanup tasks in a serverless Convex backend is best handled by configuring interval-based scheduled functions, such as running a cleanup job for expired user sessions every hour.

Does Convex support automated retry strategies for scheduled functions?▼

Yes, Convex supports automated retry strategies for scheduled functions, ensuring background processes run reliably and handle execution failures within your recurring automated workflows.

Do I need external tools to run background jobs in Convex?▼

No, you do not need external tools to run background jobs in Convex because the scheduling integrates directly with Convex's internal API for secure execution of interval and cron-based tasks.