Skip to content
Skillpedia
APIs & servers (backend)9.5k · #12240

convex-crons

What it does

This skill sets up scheduled jobs that run automatically at set times in a Convex app. It is for builders who need background work done on a regular basis.

When to use it

  • ✓When you need a task to run automatically every hour, day or week in your Convex app.
  • ✓When you want a cleanup job to run on a schedule instead of by hand.
  • ✓When a scheduled job might run twice, and you need it to be safe to repeat.

Skill link

https://github.com/openclaw/clawhub/blob/main/.agents/skills/convex-crons/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/openclaw/clawhub/blob/main/.agents/skills/convex-crons/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“Make my Convex app clean up old records automatically every night.”

5 new skills a week. 1 minute to read.

How it works

The agent creates a schedule file, points each job at an internal function that only the server can call, and keeps each run small and safe to repeat.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

<!-- 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.
FAQ

Can outside users trigger these jobs?

No. The skill schedules internal functions only, not the public functions that clients can call.

How do I check that the job is set up?

The skill says to verify that the job appears in the dashboard schedule.

Why should jobs be safe to run again?

A job can be re-run, so repeating it should not cause duplicate or broken data.

Details

Original description by the author

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

repo: openclaw/clawhub

Popularity

GitHub stars
9.5k
Ranking position
#12240
License
MIT
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills