You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdetoys/kweather/weatherlog.sh

9 lines
245 B

#!/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