diff --git a/packages/deno/src/integrations/deno-cron.ts b/packages/deno/src/integrations/deno-cron.ts index 3b337b004405..a524b927acca 100644 --- a/packages/deno/src/integrations/deno-cron.ts +++ b/packages/deno/src/integrations/deno-cron.ts @@ -37,8 +37,8 @@ const denoCronIntegration = (() => { } async function cronCalled(): Promise { - if (SETUP_CLIENTS.has(getClient() as Client)) { - return; + if (!SETUP_CLIENTS.has(getClient() as Client)) { + return fn(); } await withMonitor(monitorSlug, async () => fn(), {