Browser & automation
convex-crons
Add recurring scheduled jobs (crons) to the Convex app.
get-convex · Static checks on file
Installation
Read the source and dependencies before running a command. Copying does not install or execute anything.
npx skills add get-convex/agent-skills --skill convex-cronsAbout this skill
name: convex-crons description: "Add recurring scheduled jobs (crons) to the Convex app."
Add scheduled jobs (crons)
Define recurring jobs in convex/crons.ts targeting internal functions, with sane intervals and idempotent handlers.
Workflow
- Create convex/crons.ts with cronJobs().
- Schedule internal functions (never public api.*) at the right interval.
- Make handlers idempotent (safe to re-run); keep each run small.
- 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.