From 37ce41a3841d0b484594b0a1f7aa9a17967dbffb Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Thu, 23 May 2024 17:23:20 +0100 Subject: [PATCH] Fix crontab running every 30 seconds instead of every 30 minutes --- src/client/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/client.ts b/src/client/client.ts index 2dd9a29..5a46a5d 100644 --- a/src/client/client.ts +++ b/src/client/client.ts @@ -79,7 +79,7 @@ export class CoreClient extends Client { .then(() => { AppLogger.LogInfo("Client", "App Data Source Initialised"); - const timerId = this._timerHelper.AddTimer("*/30 * * * * *", "Europe/London", GiveCurrency, false); + const timerId = this._timerHelper.AddTimer("*/30 * * * *", "Europe/London", GiveCurrency, false); this._timerHelper.StartTimer(timerId); }) .catch(err => {