I've never written a script in my life, but have been asked to write one to check if a program is running and if it isn't, run the program.
Back story: We have a program called tcp-wedge that monitors our fire panel system. The other day it did not send an alert. It turned out the tcp-wedge software that was supposed to send the email wasn't running.
I've Googled the heck out of this and don't understand what I'm reading. There are tons of posts about scripts for checking if processes are running.
Could someone help me out here?
We'd like it to check once an hour if the program is running and if it's not, run the program.
Thanks for any help.
Back story: We have a program called tcp-wedge that monitors our fire panel system. The other day it did not send an alert. It turned out the tcp-wedge software that was supposed to send the email wasn't running.
I've Googled the heck out of this and don't understand what I'm reading. There are tons of posts about scripts for checking if processes are running.
Could someone help me out here?
We'd like it to check once an hour if the program is running and if it's not, run the program.
Thanks for any help.