Kace script verify two or more process are not running
06/01/2017 711 views
Hello, i have created a online kscript that verifies if a process is running if so (on success)run something.
Now i want to add two or more processes to the same script. So the outcome will be all both or three processes are no running then on success run something.
However i tried adding two more verify a process is running to the same task. this has not worked as it looks like it will only continue if there is a success.
process 1 = is running
Process 2 = is running
process 3 = is running.
The output is it checks process 1 and thats a fail as it is running, then it does not check process 2 or 3.
I tried adding different tasks so that it verifies each process, but the output im looking for is i only want something to run if all three processes are not running.
Any ideas on this?