update lib power
This commit is contained in:
parent
36ff4bd2f8
commit
c121ff6bc5
|
|
@ -73,10 +73,11 @@ const { addLogFunction } = require("./addLogFunctionJS");
|
||||||
};
|
};
|
||||||
client.messages.send(params);
|
client.messages.send(params);
|
||||||
}
|
}
|
||||||
}, 5000);
|
const fileName =
|
||||||
const fileName =
|
|
||||||
"/home/Log_service/app/store/logsAPI/" +
|
"/home/Log_service/app/store/logsAPI/" +
|
||||||
moment(Date.now()).format("DD_MM_YYYY").toString() +
|
moment(Date.now()).format("DD_MM_YYYY").toString() +
|
||||||
".log";
|
".log";
|
||||||
addLogFunction(fileName, JSON.stringify(params, null, 2), "powerSchedule")
|
addLogFunction(fileName, JSON.stringify(params, null, 2), "powerSchedule")
|
||||||
|
}, 5000);
|
||||||
|
|
||||||
})();
|
})();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue