Changeset 28211 for trunk/ippTasks/minidvodb.pro
- Timestamp:
- Jun 3, 2010, 7:11:23 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippTasks/minidvodb.pro (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippTasks/minidvodb.pro
r28181 r28211 227 227 end 228 228 #using check as opposed to list because it sees if it is done with the addRun state yet. 229 book setword MINIDVODB $minidvodb_group STATE DONE 229 230 $run = addtool -checkminidvodbrunaddrun -state waiting 230 231 $run = $run -minidvodb_group $minidvodb_group … … 369 370 if ($MINIDVODB_DB >= $DB:n) set MINIDVODB_DB = 0 370 371 end 371 #finds the minidvodbs in a state of 'to_be_merged' 372 $run = addtool -listminidvodbrun -state to_be_merged 372 #finds the minidvodbs in a state of 'to_be_merged' 373 book setword MINIDVODB_MERGE $minidvodb_group STATE DONE 374 $run = addtool -listminidvodbrun -state to_be_merged -limit 1 373 375 $run = $run -minidvodb_group $minidvodb_group 374 376 if ($DB:n == 0) … … 418 420 periods -poll $RUNPOLL 419 421 periods -exec $RUNEXEC 420 periods -timeout 60 422 periods -timeout 20000 423 424 #we only want one running at a time 425 426 host local 427 npending 1 421 428 422 429 task.exec … … 447 454 # save the DB name for the exit tasks 448 455 option $DB:$MINIDVODB_DB 449 $run = $run - dbname $DB:$MINIDVODB_DB456 $run = $run --dbname $DB:$MINIDVODB_DB 450 457 $MINIDVODB_DB ++ 451 458 if ($MINIDVODB_DB >= $DB:n) set MINIDVODB_DB = 0 … … 605 612 end 606 613 book getpage MINIDVODB_ACTIVE 0 -var minidvodb_group -key STATE NEW 607 614 608 615 # Select different database 609 616 $MINIDVODB_DB ++ 610 617 if ($MINIDVODB_DB >= $DB:n) set MINIDVODB_DB = 0 611 618 end 612 619 book setword MINIDVODB_ACTIVE $minidvodb_group STATE DONE 613 620 614 621 $run = addtool -listminidvodbrun -state new
Note:
See TracChangeset
for help on using the changeset viewer.
