diff --git a/src/crontabs/update-prices.ts b/src/crontabs/update-prices.ts index 3129bdf..581a192 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 * * * * *' : '0 */6 * * *') + .cron(env.LOG_LEVEL === 'debug' ? '*/3 * * * * *' : '*/6 * * * *') .listen(async(ctx) => { if (isRunning || blockRunning || !ctx.env.UPDATE_PRICES) return isRunning = true