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.
The following example uses port 8787. Replace it with your development server port, such as 5173 for Vite.
The Local Explorer API exposes the same operation for tools and AI agents. The request targets an exact Worker name and accepts a cron expression and optional scheduled time:
curl -X POST \
"http://localhost:8787/cdn-cgi/local/explorer/api/local/scheduled?worker=my-worker" \
-H "Content-Type: application/json" \
--data '{"cron":"0 * * * *","scheduled_time":1745856238000}'
For more details, refer to Test Cron Triggers with Local Explorer.
Source: Cloudflare


