IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 12, 2006, 11:58:21 PM (20 years ago)
Author:
eugene
Message:

added global logdirs, VERBOSE output, failure tracking

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/phase0.pro

    r10691 r10692  
    4040# compare the new list with the ones already selected
    4141task           phase0.imfile.load
    42   command      p0tool -pendingimfile -simple
    4342  host         local
    4443
     
    8382      echo "phase0 pending imfiles: failure"
    8483    end
    85     $Phase0ImfileFail ++
    8684  end
    8785
     
    9391  end
    9492end
     93
     94
    9595
    9696# run the phase0imfile script on pending images
     
    166166    end
    167167    queuepush Phase0Imfiles -replace -key 1 "TIMEOUT $options:0"
    168   end
    169 end
     168    $Phase0ImfileFail ++
     169  end
     170end
     171
     172
    170173
    171174## these tasks use the queue Phase0Exposures
     
    199202    for i 0 $Nqueue
    200203      queuepop stdout -var line
     204      if ($VERBOSE > 2)
     205        echo $line
     206      end
    201207      list word -split $line
    202208      $EXP_TAG   = $word:0
     
    228234  end
    229235end
     236
     237
    230238
    231239# run the phase0imfile script on pending images
     
    285293  # default exit status
    286294  task.exit    default
     295    if ($VERBOSE)
     296      echo "failure for phase0exp.pl: $options:0"
     297    end
    287298    queuepush Phase0Exposures -replace -key 1 "FAIL $options:0"
    288299    $Phase0ExpFail
     
    291302  # operation times out?
    292303  task.exit    timeout
     304    if ($VERBOSE)
     305      echo "failure for phase0exp.pl: $options:0"
     306    end
    293307    queuepush Phase0Exposures -replace -key 1 "TIMEOUT $options:0"
     308    $Phase0ExpFail
    294309  end
    295310end
Note: See TracChangeset for help on using the changeset viewer.