convex-cron-jobs

Schedule recurring Convex functions with interval or cron expressions.

1|Updated Feb 7, 2026
One-click install
npx skills add https://github.com/aarsh21/better-issues --skill convex-cron-jobs-aarsh21
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: convex-cron-jobs
Source: https://github.com/aarsh21/better-issues/tree/main/.agents/skills/convex-cron-jobs
Command: npx skills add https://github.com/aarsh21/better-issues --skill convex-cron-jobs-aarsh21

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

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

Core Features & Use Cases

  • Scheduled Execution: Run functions at specific intervals or cron times.
  • Background Tasks: Ideal for data syncing, cleanup jobs, and automated reports.
  • Use Case: Automatically generate a daily sales report every morning at 6 AM UTC by scheduling a Convex function.

Quick Start

Configure a cron job to run the internal.tasks.cleanupExpiredSessions 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 tasks in Convex?

You can schedule recurring background tasks in Convex by configuring interval-based or cron expression scheduling to automatically execute functions. This automates workflows like data synchronization and periodic maintenance without manual intervention.

Can I use cron expressions for automated workflows in Convex?

Yes, cron expressions are supported for scheduling automated workflows in Convex applications. This allows you to run functions at specific cron times, such as generating a daily sales report every morning at 6 AM UTC.

What is the best way to run periodic maintenance jobs on a serverless backend?

The best way to run periodic maintenance jobs on a serverless backend is using a scheduling tool that integrates with your platform's backend for reliable execution and monitoring, such as configuring hourly cleanup jobs for expired sessions.

Does Convex support interval-based scheduling for data syncing?

Yes, Convex supports interval-based scheduling for data syncing and other background tasks. You can configure functions to run at specific intervals, ensuring reliable automated execution directly through the Convex backend.

How do I configure a cron job to cleanup expired sessions every hour?

To configure a cron job for expired sessions, schedule your internal cleanup function to execute every hour using interval-based scheduling. This ensures reliable background execution and monitoring through the Convex backend.