View Single Post
Old 2014-05-30, 20:25   #210
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

3·19·53 Posts
Default

Quote:
Originally Posted by Prime95 View Post
BTW, does anyone know how to auto-reboot the MS SQLServer and IIS services?
You could use this as a rough guide (it has pretty pictures), substituting the appropriate service name(s). Basically: make a batch file withnet stop servicename and net start servicename and call it with Task Scheduler. For my WAMP development machine the batch file looks like this:
Code:
net stop apache2.2
net stop mysql
net start mysql
net start apache2.2
I'm not sure what IIS and MSSQL services are called. Then you can schedule it to restart the services every day (or week or whatever), or when triggered by any number of events as allowed by Task Scheduler.

Last fiddled with by James Heinrich on 2014-05-30 at 20:28
James Heinrich is offline   Reply With Quote