projects
/
vchess.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98fb976
)
Re-activate CRON task: cannot see what could be wrong
author
Benjamin Auder
<benjamin.auder@somewhere>
Mon, 17 Feb 2020 07:05:24 +0000
(08:05 +0100)
committer
Benjamin Auder
<benjamin.auder@somewhere>
Mon, 17 Feb 2020 07:05:24 +0000
(08:05 +0100)
server/bin/www
patch
|
blob
|
blame
|
history
diff --git
a/server/bin/www
b/server/bin/www
index
2f7328e
..
9fd23a4
100755
(executable)
--- 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();
});
/**