Changeset 26961 for trunk/ippTasks/diff.pro
- Timestamp:
- Feb 16, 2010, 3:26:43 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/diff.pro (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/diff.pro
r26889 r26961 40 40 active true 41 41 end 42 task diff.revert 43 active false 44 end 42 45 end 43 46 … … 53 56 active false 54 57 end 58 task diff.revert 59 active false 60 end 61 end 62 63 macro diff.revert.on 64 task diff.revert 65 active true 66 end 67 end 68 69 macro diff.revert.off 70 task diff.revert 71 active false 72 end 55 73 end 56 74 … … 76 94 ### Load tasks for doing the differences 77 95 ### Tasks are loaded into diffSkyfile. 96 97 $diff_revert_DB = 0 98 78 99 task diff.skycell.load 79 100 host local … … 380 401 # end 381 402 # end 403 404 task diff.revert 405 host local 406 407 periods -poll 5.0 408 periods -exec 60.0 409 periods -timeout 120.0 410 npending 1 411 412 stdout NULL 413 stderr $LOGDIR/revert.log 414 415 task.exec 416 if ($LABEL:n == 0) break 417 $run = difftool -revertdiffskyfile 418 if ($DB:n == 0) 419 option DEFAULT 420 else 421 # save the DB name for the exit tasks 422 option $DB:$diff_revert_DB 423 $run = $run -dbname $DB:$diff_revert_DB 424 $diff_revert_DB ++ 425 if ($diff_revert_DB >= $DB:n) set diff_revert_DB = 0 426 end 427 add_poll_labels run 428 command $run 429 end 430 431 # success 432 task.exit 0 433 end 434 435 # locked list 436 task.exit default 437 showcommand failure 438 end 439 440 task.exit crash 441 showcommand crash 442 end 443 444 # operation times out? 445 task.exit timeout 446 showcommand timeout 447 end 448 end
Note:
See TracChangeset
for help on using the changeset viewer.
