Ignore:
Timestamp:
2020-09-28T18:26:14+13:00 (4 years ago)
Author:
ak19
Message:

Attempted to upload diffcol report to wwwinternal instead of wwwdev. This didn't initially work until when sudoed as root. But then it failed to upload to nzdl. Will need to see how the cron job does it and if that succeeds.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/nightly-tasks/diffcol/trunk/task.pl

    r32047 r34418  
    10941094        $command = "cd \"$ENV{'UPLOAD_DIR'}\" && tar -c *.htm* | "; #&& cat *.html | "; # && tar -c * |
    10951095        $command .= ($^O eq "MSWin32" ? "plink" : "ssh");
    1096         $command .= " -T -i \"$ENV{'IDENTITY_FILE'}\" nzdl-gsorg\@wwwdev.greenstone.org";
     1096        $command .= " -T -i \"$ENV{'IDENTITY_FILE'}\" nzdl-gsorg\@www-internal.greenstone.org";
    10971097        #print "$command\n";
    10981098        $status = system("$command");
    10991099        if($status != 0) {
    1100             print STDERR "*** Failed to upload test report to nzdl $status\n";
     1100            print STDERR "*** Failed to upload test report to www-internal $status\n";
    11011101        }
    11021102   
Note: See TracChangeset for help on using the changeset viewer.