Agent Skills
› openclaw/clawhub
› convex-crons
convex-crons
GitHub用于在 Convex 应用中定义和管理定时任务(Crons),确保配置内部函数、合理间隔及幂等处理。
Trigger Scenarios
需要添加定时任务
配置 Cron 作业
Install
npx skills add openclaw/clawhub --skill convex-crons -g -y
SKILL.md
Frontmatter
{
"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.
Version History
- d6a8c68 Current 2026-08-20 02:43


