Does the stopping routine wait for the service to be truly stopped? If
so, then a restart function which is stop+start would work.
No sense in trying to start a 'stopping' or stuck service.
adamc
Eric Shanbrom wrote:
I think he is looking for the restart ability for when you make changes
to a service instead of having to stop...wait....start....wait then be done
Eric S
----- Original Message -----
*From:* Martin Schaible <mailto:[EMAIL PROTECTED]>
*To:* David Penrose <mailto:[email protected]>
*Sent:* Thursday, April 06, 2006 5:26 PM
*Subject:* Re: [IMail Forum] Service Restart Feature
Hi David,
Use batch file to restart one or more services
Rem ==== Stop the services
===================================================
net stop "IMail SMTP Server" /y>>MyLog.txt
net stop "IMail Queue Manager Service" /y>>MyLog.txt
wait 5
kill -f queuemgr.exe
wait 5
Rem ==== Start the services
==================================================
net start "IMail SMTP Server" >>MyLog.txt
net start "IMail Queue Manager Service">>MyLog.txt
If you like, you can link this batch to a program alias. So, you can
send an email to your server to restart the service(s).
============================================
Am Donnerstag, 6. April 2006 um 22:59 schrieben Sie:
>
KG ~
If you are monitoring, an IMail feature that I feel would be helpful
would be a 3rd button on the Services page and each service page:
RESTART. This would be like the IIS Restart. More often than simply
stopping OR starting one or more services, we are stopping AND
starting one or more services.
Thx.
_________________
David Penrose
Top Network LLC
206.529.4128 v
206.202.3776 f
============================================
--
Mit freundlichen GrĂ¼ssen
--------------------------------------------
Merlin Consulting
Martin Schaible
Bahnhofstrasse 27
CH-8702 Zollikon
Phone: +41 44 391 30 00
Fax: +41 44 391 32 49
Mail: mailto:[EMAIL PROTECTED]
URL: http://www.merlinconsulting.ch
Support: http://support.merlinconsulting.ch
GPS: N47 20.235 E8 34.226
--------------------------------------------
News - Neue Produkte:
.:. NOD32 Antivirus System
.:. BlueDragon
.:. Kiwi Syslog Monitor
.:. Paessler GmbH
.:. Sawmill Loganalyzer
.:. SmarterTools
--------------------------------------------
To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive:
http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/
To Unsubscribe: http://www.ipswitch.com/support/mailing-lists.html
List Archive: http://www.mail-archive.com/imail_forum%40list.ipswitch.com/
Knowledge Base/FAQ: http://www.ipswitch.com/support/IMail/