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/fake.pro

    r21464 r23352  
    2626    active true
    2727  end
    28   task fake.promoteexp
     28  task fake.advanceexp
    2929    active true
    3030  end
     
    3838    active false
    3939  end
    40   task fake.promoteexp
     40  task fake.advanceexp
    4141    active false
    4242  end
     
    176176  end
    177177
     178  # locked list
     179  task.exit    crash
     180    showcommand crash
     181    echo "hostname: $JOB_HOSTNAME"
     182    book setword fakePendingImfile $options:0 pantaskState CRASH
     183  end
     184
    178185  # operation timed out?
    179186  task.exit    timeout
     
    183190end
    184191
    185 # promote exposures for which all imfiles have completed processing
     192# advance exposures for which all imfiles have completed processing
    186193# sets the exposure state to full and queues warp processing if requested
    187 $fake_promote_DB = 0
    188 task           fake.promoteexp
     194$fake_advance_DB = 0
     195task           fake.advanceexp
    189196  host         local
    190197
     
    195202
    196203  stdout NULL
    197   stderr $LOGDIR/fake.promoteexp.log
    198 
    199   task.exec
    200     $run = faketool -promoteexp -limit 10
     204  stderr $LOGDIR/fake.advanceexp.log
     205
     206  task.exec
     207    $run = faketool -advanceexp -limit 10
    201208    if ($DB:n == 0)
    202209      option DEFAULT
    203210    else
    204211      # save the DB name for the exit tasks
    205       option $DB:$fake_promote_DB
    206       $run = $run -dbname $DB:$fake_promote_DB
    207       $fake_promote_DB ++
    208       if ($fake_promote_DB >= $DB:n) set fake_promote_DB = 0
     212      option $DB:$fake_advance_DB
     213      $run = $run -dbname $DB:$fake_advance_DB
     214      $fake_advance_DB ++
     215      if ($fake_advance_DB >= $DB:n) set fake_advance_DB = 0
    209216    end
    210217    add_poll_args run
     
    219226  task.exit    default
    220227    showcommand failure
     228  end
     229
     230  task.exit    crash
     231    showcommand crash
    221232  end
    222233
     
    278289  end
    279290
     291  task.exit    crash
     292    showcommand crash
     293  end
     294
    280295  # operation times out?
    281296  task.exit    timeout
     
    331346  end
    332347
     348  task.exit    crash
     349    showcommand crash
     350    book setword fakePendingCleanup $options:0 pantaskState CRASH
     351  end
     352
    333353  # operation timed out?
    334354  task.exit    timeout
Note: See TracChangeset for help on using the changeset viewer.