Skip to content

Commit

Permalink
Update syncing of important leagues
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobi2K committed Jan 25, 2024
1 parent bcdb59d commit 235c2cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cron/cron.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>('CRON') != 'enabled') {
this.logger.debug('Cron jobs are not enabled!');
Expand Down

0 comments on commit 235c2cc

Please sign in to comment.