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

Commit 68d68c0

Browse files
committed
fix: cron to run once per day only
1 parent d406c33 commit 68d68c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export class AppService {
2727
});
2828
}
2929

30-
@Cron('00 10 * * * *')
30+
@Cron('00 10 08 * * *')
3131
async refresh(): Promise<number> {
3232
const prisma = this.prisma;
3333
const repos = { daily: 0, weekly: 0, monthly: 0 };

0 commit comments

Comments
 (0)