Skip to content

convex-crons

Add recurring scheduled jobs (crons) to the Convex app.

35,380
installs
0 up / 0 down, score 0.00
votes
66
repo stars
Updated
less than a month ago
In the catalog since
16 Oct 2026
From
convex/agent-skills
Get it through your agent npx skills add convex/agent-skills@convex-crons

Skill instructions

Rendered from the published SKILL.md, 19 lines.

Add scheduled jobs (crons)

Define recurring jobs in convex/crons.ts targeting internal functions, with sane intervals and idempotent handlers.

Workflow

  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.