We have recently installed a 3rd party software that installed a Window Service on the server. However the service is not stable and stops by itself randomly. We have to restart it manually. The vendor says a patch is on the way. But in the meanwhile we would like to automate the process of restarting it.
I created a batch job that starts the service. Is a way that we can trigger this batch job on the event of the service stopping?