Re-activate CRON task: cannot see what could be wrong
authorBenjamin Auder <benjamin.auder@somewhere>
Mon, 17 Feb 2020 07:05:24 +0000 (08:05 +0100)
committerBenjamin Auder <benjamin.auder@somewhere>
Mon, 17 Feb 2020 07:05:24 +0000 (08:05 +0100)
server/bin/www

index 2f7328e..9fd23a4 100755 (executable)
@@ -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();
 });
 
 /**