comparison fetch_weather.pl @ 475:4075cf3e094c

fetch_weather: Update 'documentation'.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 30 Dec 2018 04:16:09 +0200
parents fe478b7bd80e
children ba50359871b7
comparison
equal deleted inserted replaced
474:575e9db7667c 475:4075cf3e094c
6 # This script is freely distributable under GNU GPL (version 2) license. 6 # This script is freely distributable under GNU GPL (version 2) license.
7 # 7 #
8 # Should be ran as a cronjob, and configured properly. 8 # Should be ran as a cronjob, and configured properly.
9 # */10 * * * * perl -w /absolute/path/to/fetch_weather.pl /path/to/configfile 9 # */10 * * * * perl -w /absolute/path/to/fetch_weather.pl /path/to/configfile
10 # 10 #
11 # Configuration file example is in fetch_weather.config 11 # Configuration file example is in "config.fetch_weather.example"
12 # 12 #
13 # Requires various Perl modules, in Debian the packages should be: 13 # Requires various Perl modules, in Debian the packages should be:
14 # libwww-perl libxml-simple-perl libtimedate-perl 14 # libwww-perl libxml-simple-perl libtimedate-perl libjson-perl
15 # 15 # libfile-slurper-perl
16 # 16 #
17 ########################################################################## 17 ##########################################################################
18 use 5.18.0; 18 use 5.18.0;
19 use strict; 19 use strict;
20 use warnings; 20 use warnings;