Skip to content

Commit 962fa87

Browse files
committed
run every minute
1 parent 46b70cd commit 962fa87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/cron/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export async function initializeCronJobs() {
1111
cron.schedule("*/5 * * * *", updateUsersMonthlyUsage);
1212
updateUsersMonthlyUsage();
1313
}
14-
cron.schedule("*/60 * * * * *", cleanupOldSessions);
14+
cron.schedule("* * * * *", cleanupOldSessions);
1515

1616
console.log("Cron jobs initialized successfully");
1717
}

0 commit comments

Comments
 (0)