rwsdk-cron-triggers

Schedule recurring Cloudflare Workers tasks using cron syntax in wrangler.jsonc.

Updated Dec 26, 2025
One-click install
npx skills add https://github.com/kcc989/logoer --skill rwsdk-cron-triggers
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rwsdk-cron-triggers
Source: https://github.com/kcc989/logoer/tree/main/.claude/skills/rwsdk-cron-triggers
Command: npx skills add https://github.com/kcc989/logoer --skill rwsdk-cron-triggers

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables developers to schedule recurring background work in Cloudflare Workers using standard cron syntax, automating maintenance tasks and reducing manual interventions.

Core Features & Use Cases

  • Cron-based scheduling: Define multiple cron expressions to trigger functions at precise times.
  • Production-ready patterns: Supports cleanup, billing, metrics, and maintenance workflows with idempotent handlers.
  • Local testing guidance: Includes instructions to validate schedules before deployment, and how to test in a dev environment.

Quick Start

  1. Add a wrangler.jsonc with a crons array outlining the schedules.
  2. Implement a scheduled handler that matches each cron expression.
  3. Run pnpm generate to propagate changes and test locally.

Frequently Asked Questions about rwsdk-cron-triggers

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I schedule recurring background tasks in Cloudflare Workers?

To schedule recurring background tasks in Cloudflare Workers, define a crons array in your wrangler.jsonc file and implement a scheduled handler to execute maintenance, billing, or cleanup workflows automatically at specified times.

Can I run multiple cron triggers in a single Cloudflare Worker?

Yes, you can run multiple cron triggers in a single Cloudflare Worker by defining multiple cron expressions in the crons array, allowing each scheduled handler to match and execute distinct maintenance or metrics workflows independently.

How do I test Cloudflare Worker cron triggers locally before deployment?

To test Cloudflare Worker cron triggers locally before deployment, run pnpm generate to propagate wrangler.jsonc configuration changes, then validate your scheduled handler logic within a local dev environment to ensure precise schedule execution.

Do I need queuing to keep Cloudflare Worker cron handlers lightweight?

Yes, you should use optional queuing to keep Cloudflare Worker cron handlers lightweight, ensuring that recurring maintenance and cleanup workflows remain idempotent and do not block the scheduled handler execution across production deployments.

What are the limitations of using Cloudflare Workers for scheduled maintenance tasks?

When using Cloudflare Workers for scheduled maintenance tasks, limitations include the need to manage idempotent handlers carefully and configure wrangler.jsonc accurately, as improper cron syntax or heavy synchronous handlers can disrupt recurring workflows.