Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
fix: cron to run once per day only
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiejaoude committed Sep 15, 2024
1 parent d406c33 commit 68d68c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export class AppService {
});
}

@Cron('00 10 * * * *')
@Cron('00 10 08 * * *')
async refresh(): Promise<number> {
const prisma = this.prisma;
const repos = { daily: 0, weekly: 0, monthly: 0 };
Expand Down

0 comments on commit 68d68c0

Please sign in to comment.