Create function check status for other system

This commit is contained in:
joseph le 2023-10-11 15:43:39 +07:00
parent 1906560a78
commit f1ad5a7961
1 changed files with 2 additions and 0 deletions

View File

@ -930,6 +930,7 @@ const checkMultipleRequest = async () => {
if (stdout !== "") {
allResponse+=JSON.stringify(req.name+"\n"+stdout)
console.log(stdout)
if(req.name==="Perthmint"){
if((stdout.toString().split("true").length-1)>1){
@ -952,6 +953,7 @@ const checkMultipleRequest = async () => {
}
} else {
console.log(stderr)
allResponse+=JSON.stringify(req.name+"\n"+stderr)
report.push({
group: req.group,