I want to run a scheduled task every time after a given service is started. I have looked for a way to set a trigger on a service start, so that the service in question may be started automatically at system start or manual restarted on run time.
The System it should work on is a Windows Server 2008 R2.
Detailed description:
- On server A an UMS service is running
- On server B a FAX line service is running and connects to the UMS service on server A
- If server A or the UMS service on it is restarted the FAX service on server b is loosing its connection and has to be restarted.
So, I want to schedule a script on server A with the start of the UMS service and restart the FAX Line service on server B via net stop/start from that.
The missing point is, how would I define the trigger for the task scheduler?