diff options
Diffstat (limited to 'rhautoimport-ab')
-rwxr-xr-x | rhautoimport-ab | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rhautoimport-ab b/rhautoimport-ab index 537fd07..3ff1b53 100755 --- a/rhautoimport-ab +++ b/rhautoimport-ab @@ -42,7 +42,7 @@ my $RD_GROUP = "yearabroad"; my $PV_ID = '672'; my $TITLE = "A Year Abroad"; my $LAST_RUN = 0; -my $upload_delay_days = -3; # files are usally there at least 3 days before original broadcast?? histroy will tell! +my $upload_delay_days = -3; # files are usally there at least 3-1 days before original broadcast?? history will tell! binmode(STDIN, ":utf8"); binmode(STDOUT, ":utf8"); @@ -50,7 +50,7 @@ binmode(STDERR, ":utf8"); my $curweek = RHRD::utils::get_rd_week(); -if($curweek == 2) { +if($curweek == 3) { 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; @@ -72,7 +72,7 @@ if($curweek == 1) { } elsif($curweek == 2) { @import_date = Date::Calc::Add_Delta_Days(@import_date, 7); } elsif($curweek == 3) { - if($dow > 4) { + if($dow > 5) { @import_date = Date::Calc::Add_Delta_Days(@import_date, 28); } } else { |