diff --git a/src/content/docs/workers/runtime-apis/handlers/scheduled.mdx b/src/content/docs/workers/runtime-apis/handlers/scheduled.mdx index bd606e786e3f89..281dbf49f19146 100644 --- a/src/content/docs/workers/runtime-apis/handlers/scheduled.mdx +++ b/src/content/docs/workers/runtime-apis/handlers/scheduled.mdx @@ -74,11 +74,11 @@ async def on_scheduled(controller, env, ctx): - `controller.type` string - - The type of event. This will always return `"scheduled"`. + - The type of controller. This will always return `"scheduled"`. - `controller.scheduledTime` number - - The time the `ScheduledEvent` was scheduled to be executed in milliseconds since January 1, 1970, UTC. It can be parsed as new Date(event.scheduledTime). + - The time the `ScheduledEvent` was scheduled to be executed in milliseconds since January 1, 1970, UTC. It can be parsed as new Date(controller.scheduledTime). - `env` object