Fix crontab running every 30 seconds instead of every 30 minutes

This commit is contained in:
Ethan Lane 2024-05-23 17:23:20 +01:00
parent caa991a259
commit 37ce41a384

View file

@ -79,7 +79,7 @@ export class CoreClient extends Client {
.then(() => { .then(() => {
AppLogger.LogInfo("Client", "App Data Source Initialised"); 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); this._timerHelper.StartTimer(timerId);
}) })
.catch(err => { .catch(err => {