Internet Shopper - NT Mail Timed Transfers
What you will need to do:
- Start Scehdule. This is an NT service that acts like the unix
"cron" command and will execute commands at specific times. To start
the service, goto Control Panel and select Services. Scroll down
to "Scehdule" and start it. Now is a good time to make is start automatically.
- Create a command file. This file is the one that will be executed
at nominated times. The file contains a list of commands that will
dial up your internet provider, start the post service sending
mail, wait for all mail to be sent and then drop the connection. It
will log all these actions in a file so you can verify what happened.
The file will look something like this:
@echo >> time >> mail.log
@rasdial "Provider Name" >> mail.log
@echo "Kicking post service" >> mail.log
@kickpost >> mail.log
@echo "Waiting for all mail to be posted" >> mail.log
@waitpost >> mail.log
@rasdial "Provider Name" /disconnect >>mail.log
@echo "Completed mail transfer" >> mail.log
@echo >> time >> mail.log
@echo ----------------------------------------------------------------- >> mail.log
This file will need to be in the %systemroot%/system32 directory (or
you will need to specify the full path name).
- Setup dialup times. Use the "AT" command to start the dialup
script. To dial up at 09:00 each day you will need to enter the
following line:
AT 09:00 /every:M,T,W,Th,F "getmail.bat"
To see what you have set up, simply type "AT" and "AT /?" will display help
about using the AT command.
webmaster@net-shopper.co.uk (10th January 1995)