Update function check status for other system
This commit is contained in:
parent
9c5b8b0cc5
commit
3cefa60c31
|
|
@ -1071,9 +1071,9 @@ const checkMultipleRequest = async () => {
|
|||
|
||||
client.messages.send(params);
|
||||
// client.messages.send(params1);
|
||||
allResponse += report
|
||||
.sort((a, b) => a.group.localeCompare(b.group))
|
||||
.join("\n");
|
||||
report.map((r)=>{
|
||||
allResponse += JSON.stringify(r, null, 2)
|
||||
})
|
||||
|
||||
fs.writeFileSync("/home/logs/logSystems.txt", allResponse);
|
||||
console.log(sortArray(report));
|
||||
|
|
|
|||
Loading…
Reference in New Issue