C

convex-crons

by @convexv
4.7(120)

Convex アプリに定期実行ジョブ(cron)を追加し、convex/crons.ts で内部関数を対象としたスケジュールを定義します。内部関数のみを対象とする規則、適切な実行間隔、冪等なハンドラを徹底し、高頻度ポーリングの代わりにサブスクリプションを促すことで、バックグラウンド処理を安定して運用できます。

cronsconvexscheduled-jobsbackendserverlessGitHub
インストール方法
npx skills add https://github.com/convex/agent-skills --skill convex-crons
compare_arrows

Before / After 効果比較

1 组
使用前

開発者はドキュメントを探し回り、実行間隔を勘で決め、定期ジョブを公開エンドポイントに紐づけてしまい、デプロイ後にジョブが動かない・二重実行・高頻度で DB を圧迫する問題に気づきます。

使用後

この Skill は定期ジョブ設定ファイルの標準構成と内部関数のスケジュール規則を示し、冪等なハンドラと適切な間隔を徹底するため、ジョブを一度で正しくデプロイでき安全に再実行できます。

SKILL.md

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.

ユーザーレビュー (0)

レビューを書く

効果
使いやすさ
ドキュメント
互換性

レビューなし

統計データ

インストール数46.4K
評価4.7 / 5.0
バージョン
更新日2026年11月24日
比較事例1 件

ユーザー評価

4.7(120)
5
37%
4
43%
3
13%
2
5%
1
2%

この Skill を評価

0.0

対応プラットフォーム

🤖claude-code

タイムライン

作成2026年10月17日
最終更新2026年11月24日
🎁 Agent 知識カード
アンケート