Skip to main content

crons

Add scheduled/cron jobs to a Convex app (recurring internal functions). TRIGGER on a recurring-task/cron request.

Source facts

Repository
convex/convex-codex-plugin
Last source activity
July 7, 2026 at 16:41
Detected SKILL.md language
English
Stars
5
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
crons
description
Add scheduled/cron jobs to a Convex app (recurring internal functions). TRIGGER on a recurring-task/cron request.
license
Apache-2.0
# Add scheduled jobs (crons) Define recurring jobs in convex/crons.ts targeting internal functions, with sane intervals and idempotent handlers. ## Steps 1. Create convex/crons.ts with cronJobs(). 2. Schedule internal functions (never public api.*) at the right interval. 3. Make handlers idempotent (safe to re-run); keep each run small. 4. Verify the job appears in the dashboard schedule. ## Rules - Schedule internal.* functions, never api.*. - Keep cron handlers small + idempotent. - Don't poll tight intervals for things a subscription can push.
View on GitHub