IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 17, 2009, 12:08:50 PM (17 years ago)
Author:
beaumont
Message:

merged with head

Location:
branches/cnb_branches/cnb_branch_20090301
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/cnb_branches/cnb_branch_20090301

  • branches/cnb_branches/cnb_branch_20090301/ippTasks/chip.pro

    r21464 r23352  
    2929    active true
    3030  end
    31   task chip.promoteexp
     31  task chip.advanceexp
    3232    active true
    3333  end
     
    4141    active false
    4242  end
    43   task chip.promoteexp
     43  task chip.advanceexp
    4444    active false
    4545  end
     
    111111  task.exit    default
    112112    showcommand failure
     113  end
     114
     115  task.exit    crash
     116    showcommand crash
    113117  end
    114118
     
    188192  end
    189193
     194  # locked list
     195  task.exit    crash
     196    showcommand crash
     197    echo "hostname: $JOB_HOSTNAME"
     198    book setword chipPendingImfile $options:0 pantaskState CRASH
     199  end
     200
    190201  # operation timed out?
    191202  task.exit    timeout
     
    196207
    197208# this variable will cycle through the known database names
    198 $chip_promote_DB = 0
    199 
    200 # promote exposures for which all imfiles have completed processing
     209$chip_advance_DB = 0
     210
     211# advance exposures for which all imfiles have completed processing
    201212# sets the exposure state to full and queues warp processing if requested
    202 task           chip.promoteexp
     213task           chip.advanceexp
    203214  host         local
    204215
     
    209220
    210221  stdout NULL
    211   stderr $LOGDIR/chip.promoteexp.log
    212 
    213   task.exec
    214     $run = chiptool -promoteexp -limit 10
     222  stderr $LOGDIR/chip.advanceexp.log
     223
     224  task.exec
     225    $run = chiptool -advanceexp -limit 10
    215226    if ($DB:n == 0)
    216227      option DEFAULT
    217228    else
    218229      # save the DB name for the exit tasks
    219       option $DB:$chip_promote_DB
    220       $run = $run -dbname $DB:$chip_promote_DB
    221       $chip_promote_DB ++
    222       if ($chip_promote_DB >= $DB:n) set chip_promote_DB = 0
     230      option $DB:$chip_advance_DB
     231      $run = $run -dbname $DB:$chip_advance_DB
     232      $chip_advance_DB ++
     233      if ($chip_advance_DB >= $DB:n) set chip_advance_DB = 0
    223234    end
    224235    add_poll_args run
     
    233244  task.exit    default
    234245    showcommand failure
     246  end
     247
     248  task.exit    crash
     249    showcommand crash
    235250  end
    236251
     
    291306  end
    292307
     308  task.exit    crash
     309    showcommand crash
     310  end
     311
    293312  # operation times out?
    294313  task.exit    timeout
     
    344363  end
    345364
     365  task.exit    crash
     366    showcommand crash
     367    book setword chipPendingCleanup $options:0 pantaskState CRASH
     368  end
     369
    346370  # operation timed out?
    347371  task.exit    timeout
Note: See TracChangeset for help on using the changeset viewer.