Changeset 29837 for branches/eam_branches/ipp-20101103/ippTasks/publish.pro
- Timestamp:
- Nov 26, 2010, 10:34:11 AM (16 years ago)
- Location:
- branches/eam_branches/ipp-20101103/ippTasks
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
publish.pro (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20101103/ippTasks
- Property svn:mergeinfo changed (with no actual effect on merging)
-
branches/eam_branches/ipp-20101103/ippTasks/publish.pro
r29507 r29837 15 15 16 16 macro publish.on 17 task publish.trigger18 active true19 end20 17 task publish.load 21 18 active true … … 30 27 31 28 macro publish.off 32 task publish.trigger33 active false34 end35 29 task publish.load 36 30 active false … … 59 53 60 54 # this variable will cycle through the known database names 61 $publish_trigger_DB = 062 55 $publish_load_DB = 0 63 56 $publish_revert_DB = 0 64 57 65 task publish. trigger58 task publish.load 66 59 host local 67 60 … … 72 65 73 66 stdout NULL 74 stderr $LOGDIR/publish.trigger.log75 76 task.exec77 if ($LABEL:n == 0) break78 #otherwise everything will be queued when there is no label.79 $run = pubtool -definerun80 if ($DB:n == 0)81 option DEFAULT82 else83 # save the DB name for the exit tasks84 option $DB:$publish_trigger_DB85 $run = $run -dbname $DB:$publish_trigger_DB86 $publish_trigger_DB ++87 if ($publish_trigger_DB >= $DB:n) set publish_trigger_DB = 088 end89 add_poll_labels run90 command $run91 end92 93 # success94 task.exit 095 end96 97 # locked list98 task.exit default99 showcommand failure100 end101 102 task.exit crash103 showcommand crash104 end105 106 # operation times out?107 task.exit timeout108 showcommand timeout109 end110 end111 112 task publish.load113 host local114 115 periods -poll $LOADPOLL116 periods -exec $LOADEXEC117 periods -timeout 30118 npending 1119 120 stdout NULL121 67 stderr $LOGDIR/publish.load.log 122 68 123 # this query should probably be label-based...124 69 task.exec 125 70 $run = pubtool -pending
Note:
See TracChangeset
for help on using the changeset viewer.
