Is there way to rerun cron job if it fails overriding the scheduled trigger.
Is there way to rerun cron job if it fails overriding the scheduled trigger.


curl against a url and then did ctrl+c to cancel it before it finished, or loaded a webpage and then closed the tab or pressed the X to stop loading before it finished

wrangler tail command or on the Cloudflare dashboard.return fetch(request) should do that, yeahUncaught (in response) TypeError: Incorrect type for Promise: the Promise did not resolve to 'Response'.return fetch(request), it should be identical to not having the workerctx.passThroughOnException() before returning nothing, but I dont recommend doing thatctx.passThroughOnException() is pretty useful if you dont want errors in your worker to affect traffic - I only dont recommend it if you plan to return nothing lolreturn fetch(request) for that curlwrangler tailreturn fetch(request)return fetch(request)return fetch(request)Uncaught (in response) TypeError: Incorrect type for Promise: the Promise did not resolve to 'Response'.ctx.passThroughOnException()ctx.passThroughOnException() if (newurl.pathname === "/supersecretfetchmetotriggercron" && request.headers.has("APIKEY") && request.headers.get("APIKEY") === env.CRONAPIKEY) {
// if you're using any properties of the event like cron/etc you can recreate it instead of passing null
await this.scheduled(null, env, ctx);
return new Response("ok - triggered");
}