diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-07-20 15:56:50 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-07-20 15:56:50 (GMT) |
commit | 270058507061600c4451eab173ab485644430166 (patch) | |
tree | a5ff58a55cf69057d143f193c9a203ea3abbae59 /rhautoimport-rs | |
parent | 9ef9b12bc2ee061c9e242ca7236deeac587691b0 (diff) |
improved title and last-run reporting
Diffstat (limited to 'rhautoimport-rs')
-rwxr-xr-x | rhautoimport-rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rhautoimport-rs b/rhautoimport-rs index 32a57b6..21c0a1a 100755 --- a/rhautoimport-rs +++ b/rhautoimport-rs @@ -39,6 +39,7 @@ my $RSS_URL = "https://cba.fro.at/series/radio-stimme/feed"; $XML::Feed::MULTIPLE_ENCLOSURES=1; my $RD_GROUP = "radioStimm"; my $PV_ID = '75'; +my $TITLE="Radio Stimme"; my $LAST_RUN = 0; binmode(STDIN, ":utf8"); @@ -62,6 +63,8 @@ if($#ARGV >= 0) { } } } +rhautoimport::report_title_and_last($TITLE, $LAST_RUN); + my @today = Date::Calc::Today(); print "today: " . Date::Calc::Date_to_Text(@today) . "\n"; |