home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 1998 October
/
PCWorld_1998-10_cd.bin
/
software
/
prehled
/
lotus
/
eSuite.exe
/
eSuiteDPP
/
samples
/
weatherchart
/
CopyWeather.cmd
< prev
next >
Wrap
OS/2 REXX Batch file
|
1998-01-15
|
3KB
|
67 lines
@echo off
@REM
@REM $Log: //reebok/xyzL/JavaComp/webpack/samples/weatherchart/CopyWeather.cmd $
@REM
@REM Rev 1.0.1.1 15 Jan 1998 09:32:24 jdonohue
@REM Changed logic to call doCopyWeather.cmd each hour
@REM
@REM Rev 1.0 05 Jan 1998 13:24:24 jdonohue
@REM Initial Revision
@REM
@REM
@REM CopyWeather.cmd - Runs DoCopyWeather every hour
@REM
@REM This batch file starts Windows NT AT processes to call DoCopyWeather.cmd
@REM to read weather from Intellicast source on the web and copy files
@REM onto the Lotus server, e.g.,
@REM
@REM http://www3.intellicast.com/weather/lga/curcond.dat ==> currcond.lga
@REM
@REM DEMODRIVE - install drive for kona webpack, e.g., c:
@REM DEMOLOC - the demo install directory, e.g., \notes\data\domino\html\weatherchart
@REM
@REM The weather files are updated every hour
@REM
setlocal
if .%DEMOLOC%==. goto explain
if .%DEMODRIVE%==. goto explain
AT 00:02 /EVERY:Su,M,T,W,Th,F,S %DEMODRIVE%%DEMOLOC%\doCopyweather.cmd
AT 01:02 /EVERY:Su,M,T,W,Th,F,S %DEMODRIVE%%DEMOLOC%\doCopyweather.cmd
AT 02:02 /EVERY:Su,M,T,W,Th,F,S %DEMODRIVE%%DEMOLOC%\doCopyweather.cmd
AT 03:02 /EVERY:Su,M,T,W,Th,F,S %DEMODRIVE%%DEMOLOC%\doCopyweather.cmd
AT 04:02 /EVERY:Su,M,T,W,Th,F,S %DEMODRIVE%%DEMOLOC%\doCopyweather.cmd
AT 05:02 /EVERY:Su,M,T,W,Th,F,S %DEMODRIVE%%DEMOLOC%\doCopyweather.cmd
AT 06:02 /EVERY:Su,M,T,W,Th,F,S %DEMODRIVE%%DEMOLOC%\doCopyweather.cmd
AT 07:02 /EVERY:Su,M,T,W,Th,F,S %DEMODRIVE%%DEMOLOC%\doCopyweather.cmd
AT 08:02 /EVERY:Su,M,T,W,Th,F,S %DEMODRIVE%%DEMOLOC%\doCopyweather.cmd
AT 09:02 /EVERY:Su,M,T,W,Th,F,S %DEMODRIVE%%DEMOLOC%\doCopyweather.cmd
AT 10:02 /EVERY:Su,M,T,W,Th,F,S %DEMODRIVE%%DEMOLOC%\doCopyweather.cmd
AT 11:02 /EVERY:Su,M,T,W,Th,F,S %DEMODRIVE%%DEMOLOC%\doCopyweather.cmd
AT 12:02 /EVERY:Su,M,T,W,Th,F,S %DEMODRIVE%%DEMOLOC%\doCopyweather.cmd
AT 13:02 /EVERY:Su,M,T,W,Th,F,S %DEMODRIVE%%DEMOLOC%\doCopyweather.cmd
AT 14:02 /EVERY:Su,M,T,W,Th,F,S %DEMODRIVE%%DEMOLOC%\doCopyweather.cmd
AT 15:02 /EVERY:Su,M,T,W,Th,F,S %DEMODRIVE%%DEMOLOC%\doCopyweather.cmd
AT 16:02 /EVERY:Su,M,T,W,Th,F,S %DEMODRIVE%%DEMOLOC%\doCopyweather.cmd
AT 17:02 /EVERY:Su,M,T,W,Th,F,S %DEMODRIVE%%DEMOLOC%\doCopyweather.cmd
AT 18:02 /EVERY:Su,M,T,W,Th,F,S %DEMODRIVE%%DEMOLOC%\doCopyweather.cmd
AT 19:02 /EVERY:Su,M,T,W,Th,F,S %DEMODRIVE%%DEMOLOC%\doCopyweather.cmd
AT 20:02 /EVERY:Su,M,T,W,Th,F,S %DEMODRIVE%%DEMOLOC%\doCopyweather.cmd
AT 21:02 /EVERY:Su,M,T,W,Th,F,S %DEMODRIVE%%DEMOLOC%\doCopyweather.cmd
AT 22:02 /EVERY:Su,M,T,W,Th,F,S %DEMODRIVE%%DEMOLOC%\doCopyweather.cmd
AT 23:02 /EVERY:Su,M,T,W,Th,F,S %DEMODRIVE%%DEMOLOC%\doCopyweather.cmd
goto end
:explain
@echo
@echo Usage: %0
@echo Makes local copy of weather data from Intellicast web site
@echo System environment variables DEMODRIVE and DEMOROOT must be set prior to
@echo calling this procedure
@echo DEMOROOT=%DEMOROOT%
@echo DEMODRIVE=%DEMODRIVE%
@echo
:end
endlocal