From 235c2ccf4214fbe1babd24abceaedee514c47449 Mon Sep 17 00:00:00 2001 From: Tobias Kalmbach Date: Thu, 25 Jan 2024 11:25:06 +0100 Subject: [PATCH] Update syncing of important leagues --- src/cron/cron.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cron/cron.service.ts b/src/cron/cron.service.ts index 0e7cebd..9da0595 100755 --- a/src/cron/cron.service.ts +++ b/src/cron/cron.service.ts @@ -455,7 +455,7 @@ export class CronService { return team; } - @Cron('0 0,10,16-22 * * *', { name: 'sync-important-games' }) // At minute 0 past every hour from 16 through 22. Also at midnight and 10 AM => 9 times daily per important season + @Cron('0 0,12,16-22 * * *', { name: 'sync-important-games' }) // At minute 0 past every hour from 16 through 22. Also at midnight and 10 AM => 9 times daily per important season async syncImportantGames() { if (this.configService.get('CRON') != 'enabled') { this.logger.debug('Cron jobs are not enabled!');