summaryrefslogtreecommitdiff
path: root/rhautoimport-nw
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-nw
parent9ef9b12bc2ee061c9e242ca7236deeac587691b0 (diff)
improved title and last-run reporting
Diffstat (limited to 'rhautoimport-nw')
-rwxr-xr-xrhautoimport-nw2
1 files changed, 2 insertions, 0 deletions
diff --git a/rhautoimport-nw b/rhautoimport-nw
index c8ea341..f048613 100755
--- a/rhautoimport-nw
+++ b/rhautoimport-nw
@@ -38,6 +38,7 @@ my $RSS_URL = "https://cba.fro.at/series/radio-netwatcher/feed";
$XML::Feed::MULTIPLE_ENCLOSURES=1;
my $RD_GROUP = "netwatcher";
my $PV_ID = '73';
+my $TITLE="netwatcher";
my $LAST_RUN = 0;
binmode(STDIN, ":utf8");
@@ -48,6 +49,7 @@ if($#ARGV >= 0 && $ARGV[0] eq 'last') {
print "!!!This is the last attempt, there won't be a retry on error!!!\n";
$LAST_RUN = 1;
}
+rhautoimport::report_title_and_last($TITLE, $LAST_RUN);
my @allowed_dbs = rhautoimport::get_dropboxes($RD_GROUP);