commit 7f315f57a3d0518921f56d94a41a459036f85ecd parent 5499e0a9eb03ab50c4694735e598309e3776f47c Author: MTRNord <mtrnord1@gmail.com> Date: Sun, 11 Sep 2016 01:46:32 +0200 disable autorestart Diffstat:
| M | main.js | | | 16 | ++++++++-------- |
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/main.js b/main.js @@ -136,14 +136,14 @@ function restart(){ require('child_process').exec('npm restart'); } -var j = schedule.scheduleJob('59 3 * * *', function(){ - if (!argv.noupdate && autoupdate == 1) { - //Run update at 3am and 59min - update(); - }else{ - restart(); - } -}); +// var j = schedule.scheduleJob('59 3 * * *', function(){ +// if (!argv.noupdate && autoupdate == 1) { +// //Run update at 3am and 59min +// update(); +// }else{ +// restart(); +// } +// }); //Startup async.auto({