Agent Skills
› openclaw/clawhub
› convex-crons
convex-crons
GitHub用于在 Convex 应用中定义和管理定时任务,指导创建 cronJobs、调度内部函数并确保处理程序幂等。
Trigger Scenarios
需要添加定期执行的后台任务
配置 Convex 应用的定时作业
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


