Create function check status for other system
This commit is contained in:
parent
1906560a78
commit
f1ad5a7961
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue