Changeset 21463 for trunk/ippTasks/fake.pro
- Timestamp:
- Feb 13, 2009, 8:51:50 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/fake.pro (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/fake.pro
r19465 r21463 177 177 end 178 178 179 # promote exposures for which all imfiles have completed processing 180 # sets the exposure state to full and queues warp processing if requested 181 $fake_promote_DB = 0 182 task fake.promoteexp 183 host local 184 185 periods -poll $LOADPOLL 186 periods -exec $LOADEXEC 187 periods -timeout 30 188 npending 1 189 190 stdout NULL 191 stderr $LOGDIR/fake.promoteexp.log 192 193 task.exec 194 $run = faketool -promoteexp -limit 10 195 if ($DB:n == 0) 196 option DEFAULT 197 else 198 # save the DB name for the exit tasks 199 option $DB:$fake_promote_DB 200 $run = $run -dbname $DB:$fake_promote_DB 201 $fake_promote_DB ++ 202 if ($fake_promote_DB >= $DB:n) set fake_promote_DB = 0 203 end 204 add_poll_args run 205 command $run 206 end 207 208 # success 209 task.exit 0 210 end 211 212 # locked list 213 task.exit default 214 showcommand failure 215 end 216 217 # operation times out? 218 task.exit timeout 219 showcommand timeout 220 end 221 end 222 179 223 # this variable will cycle through the known database names 180 224 $fake_cleanup_DB = 0
Note:
See TracChangeset
for help on using the changeset viewer.
