# Convex Crons

Add recurring scheduled jobs (crons) to the Convex app.

- Repository: https://github.com/openclaw/clawhub (9543 stars)
- Category: Engineering
- License: MIT
- Last updated: 2026-11-01
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add openclaw/clawhub --skill convex-crons -g -a claude-code -y`
Codex: `npx skills add openclaw/clawhub --skill convex-crons -g -a codex -y`
Cursor: `npx skills add openclaw/clawhub --skill convex-crons -g -a cursor -y`
Gemini CLI: `npx skills add openclaw/clawhub --skill convex-crons -g -a gemini-cli -y`

## Description

Add recurring scheduled jobs (crons) to the Convex app.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

<!-- GENERATED from convex-agents content/capabilities/crons.json, do not edit by hand. -->

# Add scheduled jobs (crons)

Define recurring jobs in convex/crons.ts targeting internal functions, with sane intervals and idempotent handlers.

## Workflow

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.

