Automate services restart in windows server 2003
I have a Jboss service in Windows server 2003. Is there a way to schedule the service to restart automatically on a da开发者_开发百科ily basis?
Put the following commands in a batch or cmd file and use windows scheduler to trigger it at desired schedule.
net stop <service_name>
net start <service_name>
精彩评论