My cron task is failing but I don’t know why (works via Quick Editor triggering).
It includes some fetch calls - are those not supported?
I’ve tried wrangler tail to debug but the console.logs from cron tasks don’t seem to show up at all.
My cron task is failing but I don’t know why (works via Quick Editor triggering).
It includes some fetch calls - are those not supported?
I’ve tried wrangler tail to debug but the console.logs from cron tasks don’t seem to show up at all.
What is your worker fetching?
Just a GET request of a JSON file it parses. It all runs fine:
But when actual cron triggered, it just fails with no way (AFAICT) to view logs.
I only mention the fetch since I know for HTTP requests there’s some special injection into async fetch calls that allows for a longer execution time… wonder if there’s a bug with that in the cron version?