Skip to content

Commit 54243c4

Browse files
committed
notification check only at 45 min after an hour
1 parent 9fd6142 commit 54243c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

course-matrix/backend/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ app.use("/api/ai", aiRouter);
4545

4646
// Initialize cron job
4747
// Note: For testing purposes can set first argument to '*/15 * * * * *' to run every 15s
48-
cron.schedule("* * * * *", checkAndNotifyEvents);
48+
cron.schedule("45 * * * *", checkAndNotifyEvents);
4949

5050
/**
5151
* Root route to test the backend server.

0 commit comments

Comments
 (0)