Discussion on:
automating iis smtp service

4
Comments

Join the conversation!

Follow via:
RSS
Email Alert
Just In
abwsalma@... 14th Dec 2003
Poster rated this answer.

Tags: windows

when emailing a large email list using the iis smtp service, is there a way to schedule stopping/starting the service automatically every e.g. 2 hrs or so?
Thank you.
0 Votes
+ -
use the net stop and net start commands in a batch file. Then use the scheduler to schedule running the batch file every two hours.

--
REM Name: smtpbounce.bat
REM Description: stops and starts the SMTP
REM service on the machine it is run on
REM Usage: require wait.exe from reskit.
REM schedule using the scheduler service

net stop smtpsvc
wait 30
net start smtpsvc

---


Jordan
0 Votes
+ -
abwsalma@... 14th Dec 2003
Poster rated this answer.
0 Votes
+ -
abwsalma@... 14th Dec 2003
This question was closed by the author
Keyboard Shortcuts:
Prev
Next
Toggle
Join the conversation
Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]

Join the TechRepublic Community and join the conversation! Signing-up is free and quick, Do it now, we want to hear your opinion.