C
Canice
Is it possible to use task scheduler to restart a windows
service on a daily basis?
service on a daily basis?
Canice said:Is it possible to use task scheduler to restart a windows
service on a daily basis?
-----Original Message-----
A batch file with the appropriate net commands should do it. For example
a batch file to stop and restart your IIS services might be:
::stop the services
net stop w3svc
net stop smtpsvc
net stop MSFtpsvc
net stop iisadmin
::start them back
net start w3svc
net start smtpsvc
net start MSFtpsvc
So you would put your stop/start commands in a batch file and then
schedule the batch file. If your service has any other services dependent
on it, you'll want to stop those first.
--
Tom Porterfield
MS-MVP MCE
http://support.telop.org
Please post all follow-ups to the newsgroup only.
.