From: Benjamin Auder Date: Mon, 17 Feb 2020 07:05:24 +0000 (+0100) Subject: Re-activate CRON task: cannot see what could be wrong X-Git-Url: https://git.auder.net/?p=vchess.git;a=commitdiff_plain;h=1b99d98121fe37c1eaca85fc58739a1d4c68e1b7 Re-activate CRON task: cannot see what could be wrong --- 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(); }); /**