comparison fetch_weather.pl @ 450:aa8cc5b67585

fetch_weather: Bump version.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 28 Sep 2017 15:24:49 +0300
parents ac3b79eca0ca
children ec97c29768e7
comparison
equal deleted inserted replaced
449:d4f4a9dfb34f 450:aa8cc5b67585
1 #!/usr/bin/perl -w 1 #!/usr/bin/perl -w
2 ########################################################################## 2 ##########################################################################
3 # 3 #
4 # Fetch Weather v0.8 by Matti 'ccr' Hamalainen <ccr@tnsp.org> 4 # Fetch Weather v1.0 by Matti 'ccr' Hamalainen <ccr@tnsp.org>
5 # (C) Copyright 2014-2017 Tecnic Software productions (TNSP) 5 # (C) Copyright 2014-2017 Tecnic Software productions (TNSP)
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
310 } 310 }
311 311
312 if (!defined($opt_cfgfile)) 312 if (!defined($opt_cfgfile))
313 { 313 {
314 die( 314 die(
315 "Weather Fetch v0.8 by ccr/TNSP <ccr\@tnsp.org>\n". 315 "Weather Fetch v1.0 by ccr/TNSP <ccr\@tnsp.org>\n".
316 "Usage: $0 <config file> [options]\n". 316 "Usage: $0 <config file> [options]\n".
317 "\n". 317 "\n".
318 " -force : Force updating of all data\n". 318 " -force : Force updating of all data\n".
319 " -debug : Enable debug\n". 319 " -debug : Enable debug\n".
320 "\n" 320 "\n"