From b610c5d97f1ef8874c9da3281a3b395a6636672f Mon Sep 17 00:00:00 2001 From: Liam Date: Tue, 29 Oct 2024 14:17:42 +0000 Subject: [PATCH] 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 6cef4b0..3b31985 100644 --- a/projects/backend/src/index.ts +++ b/projects/backend/src/index.ts @@ -75,7 +75,7 @@ app.use( app.use( cron({ name: "player-scores-tracker-cron", - pattern: "*/1 * * * *", // Every day at 04:00 + pattern: "0 4 * * *", // Every day at 04:00 timezone: "Europe/London", // UTC time protect: true, run: async () => {