/__scheduled won’t connect

I can't figure out how to run a cron job on wrangler. I have scheduled default export, and wrangler running with --test-scheduled. It will not connect to localhost:8787/__scheduled. Copilot proposes that I run it in ts-node, but Im using to fetch access tokens from paypal and store it in kv.
Was this page helpful?