|
ECS-L Home Automation and Security Archives |
learn more
| view messages for this
month | NetBloc® | terms of use | search
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)... Tom Hutchins Tue, 22 Feb 2000 20:43:25 -0500 |
Scott,
I understand the logic and have set up a file 'getweather.bat' just as you
recommended, however, it still leaves me hanging at the end.
I get a Dos box opens, says
'retrieveing report for 45245'
'===BEGIN WPDL==='
'Opening internet...Done'
'===END WPDL==='
'script complete...'
Then title bar changes from 'wpdl' to 'finished - Getweather'
Then it stops and I'm still connected.
I copied your script exactly using lmemail.bat
Any ideas?
Tom
----- Original Message -----
From: "Scott Reston" <ih8gates@concentric.net>
To: <ecs-list@netbloc.com>
Sent: Tuesday, February 22, 2000 7:48 AM
Subject: Re: [ECS] weather reports made easy (hopefully)...
> 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