summaryrefslogtreecommitdiff
path: root/rhautoimport-rs
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-07-20 15:56:50 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-07-20 15:56:50 (GMT)
commit270058507061600c4451eab173ab485644430166 (patch)
treea5ff58a55cf69057d143f193c9a203ea3abbae59 /rhautoimport-rs
parent9ef9b12bc2ee061c9e242ca7236deeac587691b0 (diff)
improved title and last-run reporting
Diffstat (limited to 'rhautoimport-rs')
-rwxr-xr-xrhautoimport-rs3
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";