From 7da6d1a8ac634c0c04279782c5affef8b60414ea Mon Sep 17 00:00:00 2001 From: John Yeo Date: Mon, 29 Sep 2025 12:40:00 +0100 Subject: [PATCH] feat: cron + product cron task added --- server/src/cron.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/server/src/cron.ts b/server/src/cron.ts index 0c0e2dc9e..763b325b6 100644 --- a/server/src/cron.ts +++ b/server/src/cron.ts @@ -66,10 +66,7 @@ export const cronTask = async () => { }; const main = async () => { - await Promise.all([ - // cronTask(), - runProductCron(), - ]); + await Promise.all([cronTask(), runProductCron()]); }; new CronJob(