ECS-L Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
Re: [ECS] weather reports made easy (hopefully)...
Scott Reston
Tue, 22 Feb 2000 07:48:09 -0500

On Mon, 21 Feb 2000 20:18:17 -0500, Tom Hutchins wrote:

>Only question is, on my system, after downloading the weather file, it
>doesn't disconnect. Can you help?


if you're using mark's logic for all of your dialup connections, take lmemail.bat and
replace the line that calls "postie" with your command line arguments for 
weather.bat... and save it as "getweather.bat" or something like that...

that look right, mark?

For Example=============================================
rem Email the last phone recording (requires changes per YOUR email address, etc):
DEL ISPSTAT.DAT
REM TAKE THIS LINE OUT >>>\POSTIE\POSTIE -s:"Phone message" -file:LMCID.TXT -a:LM.WAV
-host:smtp.?? -from:ME?? -to:YOU?? 

weather.bat 12345

rem Save exit status:
IF ERRORLEVEL 1 GOTO ERR
ECHO D > ISPSTAT.TMP
GOTO EXIT

:ERR
ECHO E > ISPSTAT.TMP

:EXIT
rem Disconnect:
START /W RASDIAL /DISCONNECT
rem Tell ECS that we are finished:
COPY ISPSTAT.TMP ISPSTAT.DAT







  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.