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(params);
 | 
				
			||||||
    // client.messages.send(params1);
 | 
					    // client.messages.send(params1);
 | 
				
			||||||
    allResponse += report
 | 
					    report.map((r)=>{
 | 
				
			||||||
      .sort((a, b) => a.group.localeCompare(b.group))
 | 
					      allResponse += JSON.stringify(r, null, 2)
 | 
				
			||||||
      .join("\n");
 | 
					    })
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    fs.writeFileSync("/home/logs/logSystems.txt", allResponse);
 | 
					    fs.writeFileSync("/home/logs/logSystems.txt", allResponse);
 | 
				
			||||||
    console.log(sortArray(report));
 | 
					    console.log(sortArray(report));
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue