Whoops. I forgot I still had that Exit For line in there. I pulled it out and added a count line so if it doesn't find the right number of processes it sends the email. I think it's going to work. I haven't tried the emailing bit, but I think I can get that. Thanks for your help.
That's great. Thanks. But it's working the opposite way I'm looking for. Ultimately, if just one of many processes is not running, I need it to send me an email. What I've got here is a script that will be happy if only one of many processes is running.
Dim AllProcess
Dim Process
Dim...
Hi. So this will check for a single running process. But I haven't been able to get something working that will check for multiple processes and take action if only one is not running.
Dim AllProcess
Dim Process
Dim strFoundProcess
strFoundProcess = False
Set AllProcess =...
Hello.
I'm trying to write a script that will check for a handful of running processes. Say....5. And if just one of them is not running, it will send me an email.
Thanks for any help.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.