Stopping/Starting windows services
Posted
by
Geek
on Server Fault
See other posts from Server Fault
or by Geek
Published on 2011-06-30T07:22:24Z
Indexed on
2011/06/30
8:24 UTC
Read the original article
Hit count: 203
I have four windows services which start up automatically when the machine starts.
There after, I want to restart those services every 8 hours in a particular order.
For eg. Stop s1,s2,s3,s4 and than restart them in some other order like s4,s3,s2,s1. The condition is that I should wait for each service to stop completely before I stop another one.
I would want to write a .BAT or some script. Is it possible to define a CRON for 8 hours, this is not there in Advanced tasks ? Can I do it using windows scheduler ?
Please suggest. thanks in advance.
© Server Fault or respective owner