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-eu | |
parent | 9ef9b12bc2ee061c9e242ca7236deeac587691b0 (diff) |
improved title and last-run reporting
Diffstat (limited to 'rhautoimport-eu')
-rwxr-xr-x | rhautoimport-eu | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rhautoimport-eu b/rhautoimport-eu index 72509c3..79867d4 100755 --- a/rhautoimport-eu +++ b/rhautoimport-eu @@ -34,6 +34,7 @@ my $STAT_FILE = $ENV{'HOME'} . "/rhautoimport-eu.stat"; my $API_URL = "https://api.audioboom.com/users/3848170/audio_clips"; my $RD_GROUP = "ecoupdate"; my $PV_ID = '568'; +my $TITLE="Economic Update"; my $LAST_RUN = 0; binmode(STDIN, ":utf8"); @@ -44,6 +45,8 @@ 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); if(!defined $allowed_dbs[0] && defined $allowed_dbs[1]) { |