Changeset 26962
- Timestamp:
- Feb 16, 2010, 3:31:29 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/dist.pro (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/dist.pro
r26961 r26962 55 55 active true 56 56 end 57 task di ff.revert57 task dist.revert 58 58 active false 59 59 end … … 73 73 active false 74 74 end 75 task diff.revert 76 active false 77 end 78 end 75 task dist.revert 76 active false 77 end 78 end 79 80 macro dist.revert.on 81 task dist.revert 82 active true 83 end 84 end 85 86 macro dist.revert.off 87 task dist.revert 88 active false 89 end 90 end 91 79 92 80 93 macro set.dist.workdir.by.component … … 128 141 #echo outdir is $$varname 129 142 end 143 144 $dist_revert_DB = 0 145 130 146 131 147 task dist.process.load … … 400 416 end 401 417 end 418 419 task chip.revert 420 host local 421 422 periods -poll 5.0 423 periods -exec 60.0 424 periods -timeout 120.0 425 npending 1 426 427 stdout NULL 428 stderr $LOGDIR/revert.log 429 430 task.exec 431 if ($LABEL:n == 0) break 432 $run = disttool -revertcomponent 433 if ($DB:n == 0) 434 option DEFAULT 435 else 436 # save the DB name for the exit tasks 437 option $DB:$dist_revert_DB 438 $run = $run -dbname $DB:$dist_revert_DB 439 $chip_revert_DB ++ 440 if ($dist_revert_DB >= $DB:n) set dist_revert_DB = 0 441 end 442 add_poll_labels run 443 command $run 444 end 445 446 # success 447 task.exit 0 448 end 449 450 # locked list 451 task.exit default 452 showcommand failure 453 end 454 455 task.exit crash 456 showcommand crash 457 end 458 459 # operation times out? 460 task.exit timeout 461 showcommand timeout 462 end 463 end
Note:
See TracChangeset
for help on using the changeset viewer.
