Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
What's the difference between `--local` & `--test-scheduled` for local development? - Cloudflare Developers
CD
Cloudflare Developers
•
4y ago
•
1 reply
mattp
What's the difference between `--local` & `--test-scheduled` for local development?
I use wrangler
(v2
.9
) to initialize my worker project
(a scheduled worker
)
.
The top message in the
index.ts
index.ts
file says
:
Run
wrangler dev --local
wrangler dev --local
in your terminal to start a development server
But in this doc
(
https://developers.cloudflare.com/workers/runtime-apis/scheduled-event/
) it says
:
wrangler dev --test-scheduled
wrangler dev --test-scheduled
So what
's the difference
?
ScheduledEvent · Cloudflare Workers docs
A ScheduledEvent is the event type for scheduled requests to a Worker
. It is the Object passed through as the event when a Worker is invoked by a
…
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
85,556
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
With the `scheduled` handler, what's the difference between waitUntil and just using async/await?
CD
Cloudflare Developers / workers-and-pages-help
14mo ago
What's the difference between a request and a subrequest?
CD
Cloudflare Developers / workers-and-pages-help
3y ago
using dashboard for local development
CD
Cloudflare Developers / workers-and-pages-help
3y ago
Local development over local origin
CD
Cloudflare Developers / workers-and-pages-help
3y ago