diff options
Diffstat (limited to 'kweather/weatherlog.sh')
-rwxr-xr-x | kweather/weatherlog.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/kweather/weatherlog.sh b/kweather/weatherlog.sh new file mode 100755 index 0000000..51afc45 --- /dev/null +++ b/kweather/weatherlog.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +LOC=KEWR +TEMP=`dcop KWeatherService WeatherService temperature $LOC` +WIND=`dcop KWeatherService WeatherService wind $LOC` +VIS=`dcop KWeatherService WeatherService visibility $LOC` +DATE=`date` +echo "$DATE,$TEMP,$WIND,$VIS" >> $LOC.log |