Changeset 24001 for trunk/ippTasks/dist.pro
- Timestamp:
- Apr 29, 2009, 3:29:41 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/dist.pro (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/dist.pro
r23887 r24001 14 14 $distToProcess_DB = 0 15 15 $distToAdvance_DB = 0 16 $distQueue_DB = 0 16 17 17 18 ### Check status of tasks … … 293 294 end 294 295 296 task dist.queueruns 297 # host local 298 299 periods -poll $RUNPOLL 300 periods -exec 10 301 periods -timeout 45 302 npending 1 303 304 # stdout $LOGDIR/dist.queuruns 305 # stderr $LOGDIR/dist.queueruns 306 307 task.exec 308 $MYARGS = "" 309 # assume that we need magic unless we are running simtest 310 if ($?SIMTEST_CAMERA != 0) 311 $MYARGS = --no_magic 312 end 313 314 $run = dist_queue_runs.pl $MYARGS --stage_limit 16 --logfile $LOGDIR/dist.queueruns 315 316 if ($DB:n == 0) 317 $DBNAME = DEFAULT 318 else 319 # save the DB name for add_standard_args 320 $DBNAME = $DB:$distQueue_DB 321 $distQueue_DB ++ 322 if ($distQueue_DB >= $DB:n) set distQueue_DB = 0 323 end 324 325 host anyhost 326 327 add_standard_args run 328 329 # create the command line 330 if ($VERBOSE > 1) 331 echo command $run 332 end 333 command $run 334 end 335 336 task.exit $EXIT_SUCCESS 337 # nothing to do 338 end 339 340 # default exit status 341 task.exit default 342 showcommand failure 343 end 344 345 # operation timed out? 346 task.exit timeout 347 showcommand timeout 348 end 349 350 # operation timed out? 351 task.exit crash 352 showcommand crash 353 end 354 end
Note:
See TracChangeset
for help on using the changeset viewer.
