Create a batch file containing the commands to do it and use the AT to
It would look like this:
net stop servicename
net start servicename
From: Danny Sinang <email@example.com>
To: NTISP <firstname.lastname@example.org>
Date: Saturday, March 06, 1999 4:40 AM
Subject: [NTISP] restarting stopped services
>i have a service running on my nt4 server that keeps on dying because of
>some weird application error.
>so i plan to write a script to check every 30 minutes if the service is
>running and it isn't, then restart it.
>can anyone tell me what script commands will enable me to do these ?
>- danny sinang
>For more information about this list, including removal,
>see this url: http://www.iea-software.com/maillist.html
For more information about this list, including removal,
see this url: http://www.iea-software.com/maillist.html