|
|
@ -190,9 +190,14 @@ global.online='ob'; |
|
|
|
global.pipelines=[]; |
|
|
|
|
|
|
|
function sendlog(reslog,pathfileval){ |
|
|
|
//io.in("iot").emit("message", reslog);
|
|
|
|
var usertmp = global.pipelines.find(x => x.pathlogfile==pathfileval); |
|
|
|
//for (var key in usertmp.data){
|
|
|
|
var user = usertmp.data[0].user25user; |
|
|
|
// if(usertmp.data){
|
|
|
|
console.log('-----------------------' + JSON.stringify(usertmp)); |
|
|
|
io.in(user).emit("message", reslog); |
|
|
|
// }
|
|
|
|
//}
|
|
|
|
} |
|
|
|
function onWatcherReady(){ |
|
|
|
console.info('From here can you check for real changes, the initial scan has been completed.'); |
|
|
|