From 1b99d98121fe37c1eaca85fc58739a1d4c68e1b7 Mon Sep 17 00:00:00 2001 From: Benjamin Auder Date: Mon, 17 Feb 2020 08:05:24 +0100 Subject: [PATCH] Re-activate CRON task: cannot see what could be wrong --- server/bin/www | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/bin/www b/server/bin/www index 2f7328ec..9fd23a44 100755 --- a/server/bin/www +++ b/server/bin/www @@ -31,7 +31,7 @@ var GameModel = require("../models/Game"); cron.schedule('0 0 0 * * *', function() { // Remove unlogged users and unstarted games every 24h UserModel.cleanUsersDb(); - //GameModel.cleanGamesDb(); //TODO: a CRON task is causing problems on the server + GameModel.cleanGamesDb(); }); /** -- 2.44.0