Changeset 38937 for trunk/ippTasks/addstar.pro
- Timestamp:
- Oct 21, 2015, 5:44:52 PM (11 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/addstar.pro (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/addstar.pro
r38582 r38937 244 244 $addstar_revert_DB_SC = 0 245 245 $addstar_revert_DB_FF = 0 246 $addstar_revert_DB_FFS = 0 246 247 $addstar_revert_DB_DF = 0 248 247 249 248 250 #$LOADEXEC_ADD = 300 … … 452 454 sprintf outroot "%s.add.%s" $STAGEROOT $ADD_ID 453 455 end 456 if ("$STAGE" == "fullforce_summary") 457 sprintf outroot "%s.add.%s" $STAGEROOT $ADD_ID 458 end 454 459 455 460 … … 468 473 $run = $run --stage_id $STAGE_ID 469 474 end 470 if ("$STAGE" == "skycal")475 if ("$STAGE" == "skycal") 471 476 $run = $run --stage_id $STAGE_ID 472 477 end 473 if ("$STAGE" == "diff")478 if ("$STAGE" == "diff") 474 479 $run = $run --stage_id $STAGE_ID --stage_extra1 $STAGE_EXTRA1 475 480 end 476 if ("$STAGE" == "fullforce")481 if ("$STAGE" == "fullforce") 477 482 $run = $run --stage_id $STAGE_ID --stage_extra1 $STAGE_EXTRA1 483 end 484 if ("$STAGE" == "fullforce_summary") 485 # This shouldn't need a stage_extra1, as there are no subcomponents to the ff summary. 486 $run = $run --stage_id 478 487 end 479 488 … … 596 605 sprintf outroot "%s.add.%s" $STAGEROOT $ADD_ID 597 606 end 607 if ("$STAGE" == "fullforce_summary") 608 sprintf outroot "%s.add.%s" $STAGEROOT $ADD_ID 609 end 598 610 599 611 … … 949 961 end 950 962 end 963 964 task addstar.revert.fullforce_summary 965 host local 966 967 periods -poll 5.0 968 periods -exec 60.0 969 periods -timeout 1200 970 npending 1 971 active false 972 973 stdout NULL 974 stderr $LOGDIR/revert.log 975 976 task.exec 977 if ($LABEL:n == 0) break 978 $run = addtool -revertprocessedexp -stage fullforce_summary 979 if ($DB:n == 0) 980 option DEFAULT 981 else 982 # save the DB name for the exit tasks 983 option $DB:$addstar_revert_DB_FFS 984 $run = $run -dbname $DB:$addstar_revert_DB_FFS 985 $addstar_revert_DB_FFS ++ 986 if ($addstar_revert_DB_FFS >= $DB:n) set addstar_revert_DB_FFS = 0 987 end 988 add_poll_labels run 989 command $run 990 end 991 992 # success 993 task.exit 0 994 end 995 996 # locked list 997 task.exit default 998 showcommand failure 999 end 1000 1001 task.exit crash 1002 showcommand crash 1003 end 1004 1005 # operation times out? 1006 task.exit timeout 1007 showcommand timeout 1008 end 1009 end
Note:
See TracChangeset
for help on using the changeset viewer.
