convex-crons
convex/agent-skills · 46.3k installs · 68 stars
Skill Define recurring jobs in convex/crons.ts targeting internal functions, with sane intervals and idempotent handlers.
Marked No Code
Install
npx -y skills add convex/agent-skills --skill convex-crons --agent claude-codeRun in a terminal. Claude loads the skill when a task calls for it. Check the repo's README before you run it.
Files
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.
Facts
- Kind
- Skill
- Repo
- convex/agent-skills
- Group
- Uncategorized
- Installs
- 46.3k
- Stars
- 68