when trying to deploy I get ``` ✘ [ERROR] A request to the Cloudflare API (/accounts/.../workers/scr
when trying to deploy I get
✘ [ERROR] A request to the Cloudflare API (/accounts/.../workers/scripts/email-sender-prod/versions) failed.
The uploaded script has no registered event handlers. [code: 10068]
Scheduled Workers (Cron Triggers) have different limits on CPU time based on the schedule interval. When the schedule interval is less than 1 hour, a Scheduled Worker may run for up to 30 seconds. When the schedule interval is more than 1 hour, a scheduled Worker may run for up to 15 minutes.









export default class Entrypoint extends WorkerEntrypoint {
async fetch(req: Request) {
console.log('fetch'); // this is not logged
return new Response('ok');
}
async queue(batch: MessageBatch<Message>) {
// this runs on deployed workers fine
}
}curl -X POST http://localhost:8787[wrangler:inf] POST / 500 Internal Server Error