Changeset 28557 for trunk/ippTasks/detrend.stack.pro
- Timestamp:
- Jun 30, 2010, 10:04:25 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/detrend.stack.pro (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/detrend.stack.pro
r23480 r28557 35 35 end 36 36 37 macro detstack.revert.off 38 task detrend.stack.revert 39 active false 40 end 41 end 42 43 macro detstack.revert.on 44 task detrend.stack.revert 45 active true 46 end 47 end 48 37 49 # this variable will cycle through the known database names 38 50 $detPendingStackedImfile_DB = 0 51 $detPendingStackedImfile_revert_DB = 0 39 52 40 53 # select images ready for detrend_stack.pl … … 165 178 end 166 179 end 180 181 182 task detrend.stack.revert 183 host local 184 185 periods -poll 60.0 186 periods -exec 1800.0 187 periods -timeout 120.0 188 npending 1 189 190 stdout NULL 191 stderr $LOGDIR/revert.log 192 193 task.exec 194 195 $run = dettool -revertstacked -all 196 if ($DB:n == 0) 197 option DEFAULT 198 else 199 # save the DB name for the exit tasks 200 option $DB:$detPendingStackedImfile_revert_DB 201 $run = $run -dbname $DB:$detPendingStackedImfile_revert_DB 202 $detPendingStackedImfile_revert_DB ++ 203 if ($detPendingStackedImfile_revert_DB >= $DB:n) set detPendingStackedImfile_revert_DB = 0 204 end 205 echo $run 206 command $run 207 end 208 209 # success 210 task.exit 0 211 end 212 213 # locked list 214 task.exit default 215 showcommand failure 216 end 217 218 task.exit crash 219 showcommand crash 220 end 221 222 # operation times out? 223 task.exit timeout 224 showcommand timeout 225 end 226 end
Note:
See TracChangeset
for help on using the changeset viewer.
