I have a cron job (the scheduled export in the worker entrypoint) which interacts with some DOs. So

I have a cron job (the scheduled export in the worker entrypoint) which interacts with some DOs. So in this handler, I get DO stubs using idFromName, call the init function so they know their own entity id, and then call whatever other DO methods I need. In this case it wouldn’t be as nice to reimagine this as a fetch call where I inject my own headers
Was this page helpful?