From f9cc1be8ac930ec328ef618d8d942edf0e894519 Mon Sep 17 00:00:00 2001 From: Mnigos Date: Thu, 21 Mar 2024 21:15:02 +0100 Subject: [PATCH] fix(modules/history/scheduler): cronTime value --- src/modules/history/history.scheduler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/history/history.scheduler.ts b/src/modules/history/history.scheduler.ts index 3acca63a..6babbba0 100644 --- a/src/modules/history/history.scheduler.ts +++ b/src/modules/history/history.scheduler.ts @@ -46,7 +46,7 @@ export class HistoryScheduler implements OnModuleInit { triggerFetchingUserHistory(user: User, delayMinutes = 0) { const job = new CronJob( - `* ${delayMinutes * this.DELAY_MINUTES} ${this.INTERVAL_HOURS} * * *`, + `0 ${delayMinutes * this.DELAY_MINUTES} ${this.INTERVAL_HOURS} * * *`, () => this.fetchUserHistory(user) )