weather warning applet
John Wendel
john.wendel at metnet.navy.mil
Fri Feb 8 22:40:01 UTC 2008
Frank Cox wrote:
> Having once again noticed that there is an "extreme cold" weather warning
> issued for my area for this afternoon and tonight (dropping to -52 degrees in
> the next few hours, apparently), it occurs to me that it would be very handy to
> be able to get a pop-up notification of weather warnings on my desktop.
>
> I use the gnome weather applet, but to the best of my current knowledge it
> doesn't have the capability of automatically reporting weather warnings.
>
> Is there something else that can do that?
>
wget http://www.weather.gov/view/national.php?prod=WSW
grep <your city or area> 'national.php?prod=WSW'
if [ $? == 0 ]; then aplay weather_warning; fi
Do it in a cron once an hour (or whatever)
Regards,
John
More information about the fedora-list
mailing list