`wrangler dev --local` says I don't have a scheduled() function but I clearly have one

export default {
  async scheduled(
    controller: ScheduledController,
    env: Env,
    ctx: ExecutionContext,
  ): Promise<void> {
    console.log(`Hello World!`);
  },
};
Was this page helpful?