IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 26, 2008, 1:27:20 PM (18 years ago)
Author:
bills
Message:

save the exp_id in the job table so that we can lookup the metadata for
the results file
-processedreq --> -updatereq

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/scripts/pstampparse.pl

    r19162 r19220  
    9696
    9797if ($req_id) {
    98     my $command = "$pstamptool -processedreq -req_id $req_id  -name $req_name";
     98    my $command = "$pstamptool -updatereq -req_id $req_id  -name $req_name";
    9999    $command .= " -outProduct $product";
    100100    $command .= " -dbname $dbname" if $dbname;
     
    227227        foreach my $image (@$images) {
    228228            my $uri = $image->{image};
     229            my $exp_id = $image->{exp_id};
    229230
    230231            $job_num++;
     
    256257            # and if not, queue a regeneration job and set the job state appropriately.
    257258
     259            my $state = "run";
     260
    258261            my $command = "$pstamptool -addjob -req_id $req_id -job_type $job_type"
    259                 . " -uri $uri -outputBase $output_base -args '$args' -rownum $rownum";
     262                . " -uri $uri -outputBase $output_base -args '$args' -rownum $rownum"
     263                . " -state $state -exp_id $exp_id";
    260264            $command .= " -dbname $dbname" if $dbname;
    261265
Note: See TracChangeset for help on using the changeset viewer.