Skip to main content

crons

Set up recurring scheduled jobs (crons) on Convex — digests, cleanups, polling, retries. TRIGGER when the user wants a recurring/scheduled task ('every day/hour', cron, periodic cleanup). Targets internal functions, idempotent handlers.

Zur Installation springen

Quellinformationen

Repository
get-convex/convex-backend-skill
Letzte Quellaktivität
7. Juli 2026 um 16:41
Erkannte Sprache von SKILL.md
Englisch
Sterne
6
Forks
8

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
crons
description
Set up recurring scheduled jobs (crons) on Convex — digests, cleanups, polling, retries. TRIGGER when the user wants a recurring/scheduled task ('every day/hour', cron, periodic cleanup). Targets internal functions, idempotent handlers.
# 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.
Auf GitHub ansehen