From 07ac0353ffd16738675e539d8bc3526af8ae0884 Mon Sep 17 00:00:00 2001 From: Robert Jansen Date: Thu, 5 Dec 2024 17:02:26 +0000 Subject: [PATCH] im stupid --- src/crontabs/update-prices.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crontabs/update-prices.ts b/src/crontabs/update-prices.ts index 581a192..3129bdf 100644 --- a/src/crontabs/update-prices.ts +++ b/src/crontabs/update-prices.ts @@ -5,7 +5,7 @@ import { eq } from "drizzle-orm" let isRunning = false, blockRunning = false export default new Crontab() - .cron(env.LOG_LEVEL === 'debug' ? '*/3 * * * * *' : '*/6 * * * *') + .cron(env.LOG_LEVEL === 'debug' ? '*/3 * * * * *' : '0 */6 * * *') .listen(async(ctx) => { if (isRunning || blockRunning || !ctx.env.UPDATE_PRICES) return isRunning = true