summaryrefslogtreecommitdiffstats
path: root/kweather/weatherlog.sh
blob: 51afc45e8bb00371ce44be2493026c51ea328d5f (plain)
1
2
3
4
5
6
7
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