From 374edd8edabed927d395b39f174a5910d7a004a8 Mon Sep 17 00:00:00 2001 From: joseph le Date: Fri, 17 Nov 2023 07:42:52 +0700 Subject: [PATCH] update function power --- app/utils/powerSchedule.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/utils/powerSchedule.js b/app/utils/powerSchedule.js index e0ad3b1..1b9db1d 100644 --- a/app/utils/powerSchedule.js +++ b/app/utils/powerSchedule.js @@ -77,6 +77,7 @@ const { addLogFunction } = require("./addLogFunctionJS"); "/home/Log_service/app/store/logsAPI/" + moment(Date.now()).format("DD_MM_YYYY").toString() + ".log"; + addLogFunction(fileName, JSON.stringify(params, null, 2), "powerSchedule") }, 5000);