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.
Discussion on:
automating iis smtp service
Tags: windows
View:
Show:
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
--
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
- Keyboard Shortcuts:
- Prev
- Next
- Toggle









































