changeset 206:2ac661d551b3

Update documentation.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 21 Jul 2014 16:00:29 +0300
parents dd20109d92da
children 86bf1a0cd9e1
files fetch_weather.pl
diffstat 1 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/fetch_weather.pl	Thu Jul 03 13:15:03 2014 +0300
+++ b/fetch_weather.pl	Mon Jul 21 16:00:29 2014 +0300
@@ -3,20 +3,22 @@
 #
 # Fetch Weather v0.1 by Matti 'ccr' Hamalainen <ccr@tnsp.org>
 # (C) Copyright 2014 Tecnic Software productions (TNSP)
+# This script is freely distributable under GNU GPL (version 2) license.
 #
 # Should be ran as a cronjob, and configured properly.
-# 15 * * * *     /absolute/path/to/fetch_weather.pl </path/to/configfile>
+# */10 * * * *     perl -w /absolute/path/to/fetch_weather.pl /path/to/configfile
 #
 # Configuration file example is in fetch_weather.config
 #
-# This script is freely distributable under GNU GPL (version 2) license.
+# Requires various Perl modules, in Debian the packages should be:
+# libwww-perl libxml-simple-perl libtimedate-perl
+#
 #
 ##########################################################################
 use strict;
 use LWP::UserAgent;
 use HTML::Entities;
 use XML::Simple;
-use Text::Iconv;
 use Date::Format;
 use Date::Parse;
 use Data::Dumper;