From f75897007ce66f2d48bf39baad9f4112ce0e52c8 Mon Sep 17 00:00:00 2001 From: Liam Date: Thu, 10 Oct 2024 01:44:09 +0100 Subject: [PATCH] oops fix cron --- projects/backend/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/backend/src/index.ts b/projects/backend/src/index.ts index 236486b..1fdbda2 100644 --- a/projects/backend/src/index.ts +++ b/projects/backend/src/index.ts @@ -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...");