Workers, Cloudflare CLI - Test Cron Triggers with Local Explorer
From the publisher
Local Explorer can now send one-off Cron Trigger invocations to a Worker's scheduled() handler during local development. This removes the need to construct request URLs when testing handler behavior. Start your local development server with cf dev, wrangler dev, or the Cloudflare Vite plugin. Open /cdn-cgi/local/explorer on the server URL and select Cron Triggers. The browser interface supports the following tasks: Invoke configured cron expressions Build ad hoc expressions Set reusable scheduled times Inspect outcomes and noRetry() status Ad hoc triggers and scheduled time presets stay in your browser. They do not change cloudflare.config.ts, your Wrangler configuration, or deployed Cron Triggers. Local development does not run cron schedules automatically. Full logs and traces are available in the development session that owns the Worker when that session has Observability turned on.
Source Cloudflare DevelopersCC BY 4.0 · Publisher excerpt shortened and converted to plain text. Original source license applies.
Read original source
