oops fix cron
All checks were successful
Deploy Backend / deploy (push) Successful in 3m36s

This commit is contained in:
Lee 2024-10-10 01:44:09 +01:00
parent fc287be481
commit f75897007c

View File

@ -32,7 +32,7 @@ export const app = new Elysia();
app.use(
cron({
name: "player-statistics-tracker-cron",
pattern: "*/1 * * * *", // Every day at 00:01 (midnight)
pattern: "0 1 * * *", // Every day at 00:01 (midnight)
timezone: "Europe/London",
run: async () => {
console.log("Tracking player statistics...");