Changeset 29720 for trunk/ippTasks/publish.pro
- Timestamp:
- Nov 9, 2010, 2:46:22 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/publish.pro (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/publish.pro
r29507 r29720 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 65 task publish.trigger66 host local67 68 periods -poll $LOADPOLL69 periods -exec $LOADEXEC70 periods -timeout 3071 npending 172 73 stdout NULL74 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 57 112 58 task publish.load
Note:
See TracChangeset
for help on using the changeset viewer.
