freifunk-bot

Modular parser for the hackerspace door status with handlers for multiple services
git clone git://archive.git.mtrnord.blog/MTRNord/freifunk-bot.git
Log | Files | Refs | README | LICENSE

commit 7f315f57a3d0518921f56d94a41a459036f85ecd
parent 5499e0a9eb03ab50c4694735e598309e3776f47c
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sun, 11 Sep 2016 01:46:32 +0200

disable autorestart

Diffstat:
Mmain.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({