Skip to content

Commit

Permalink
fix(modules/history/scheduler): cronTime value
Browse files Browse the repository at this point in the history
  • Loading branch information
Mnigos committed Mar 21, 2024
1 parent 9d10c44 commit f9cc1be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/history/history.scheduler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
)

Expand Down

0 comments on commit f9cc1be

Please sign in to comment.