JoeAO
JoeAO
DDeno
Created by JoeAO on 4/22/2024 in #help
Cron BackoffSchedule 502
When testing the sample code from the Deno Deploy docs in the Deno playgroud, I'm getting a 502 bad gateway error. To reproduce: 1. Copy code from https://docs.deno.com/deploy/kv/manual/cron#retrying-failed-runs 2. Paste code to https://dash.deno.com/tutorial/tutorial-cron 3. Save and Deploy The logs say:
TypeError: Deno.cron requires a single handler
at Object.cron (ext:deno_cron/01_cron.ts:67:13)
at file:///src/main.ts:1:6
TypeError: Deno.cron requires a single handler
at Object.cron (ext:deno_cron/01_cron.ts:67:13)
at file:///src/main.ts:1:6
Also getting this issue on my project, but this is a simple way to reproduce. Couldn't find any mentioin of it on Github or in here. Shoud I open an issue, or am I doing something wrong?
5 replies