On Wed, 19 May 2004 14:55:40 -0400, "Woodie Sayles" <[EMAIL PROTECTED]> wrote:
> Did you get a chance to upload the stop/restart script to your web site? 

Woops! forgot about that.

oddly enough the script I posted almost works perfectly.  just have to
fix the typo on the restart of smtprcv (not smptrcv)

included below.  I'll put it on the web page tonight.  you need the
resource kit for sleep and tlist.  the resource kit for nt3.50 has both
of these and is available from microsofts ftp site.  works find on w2k.
ftp://ftp.microsoft.com/bussys/winnt/winnt-public/reskit/nt35/i386/i386.exe

klint
p.s. if you want to discuss this message can you take out the .exe's as
I have an incoming filter on it appearing in the message.  it's a pain
but it's worth it at my site.

------------------------------------------------------------
rem restart ims services
net stop smtprcv
net stop smtpds
net stop pop3s

:waitforsmtprcv
tlist |findstr /i /c:"smtprcv.exe"
if errorlevel 1 goto restart
sleep 10
set waitfor=%waitfor%0
if "%waitfor%" == "00000000000" goto killsmtprcv
goto waitforsmtprcv

:killsmtprcv
rem after 2 minutes it still hand finished - kill it
kill -f smtprcv.exe

:restart
net start pop3s
net start smtpds
net start smtprcv

+---------------------------------------+-----------------+
: Klint Gore                            : "Non rhyming    :
: EMail   : [EMAIL PROTECTED]           :  slang - the    :
: Snail   : A.B.R.I.                    :  possibilities  :
: Mail      University of New England   :  are useless"   :
:           Armidale NSW 2351 Australia :     L.J.J.      :
: Fax     : +61 2 6772 5376             :                 :
+---------------------------------------+-----------------+
This is the discussion list for the IMS Free email server software.
  To unsubscribe send mailto:[EMAIL PROTECTED]

            Delivered by Rockliffe MailSite
           http://www.rockliffe.com/mailsite
                Rock Solid Software (tm)

Reply via email to