Index: trunk/ippTasks/diskbalance.pro
===================================================================
--- trunk/ippTasks/diskbalance.pro	(revision 31603)
+++ trunk/ippTasks/diskbalance.pro	(revision 31644)
@@ -93,11 +93,12 @@
 $BALANCE_SO_ID_START = int($BALANCE_BIG_SO_ID * rnd(0)) 
 $BALANCE_SO_ID_RANGE = 500000
-
+$BALANCE_LIMIT       = 500
+$BALANCE_OFFSET      = 0
 # Select Nebulous objects which should be shuffled
 task           balance.load
   host         local
 
-  periods      -poll 0.5
-  periods      -exec 5
+  periods      -poll 60
+  periods      -exec 60
   periods      -timeout 1500
   npending     1
@@ -117,5 +118,5 @@
     book getword balanceControl control mDestinations -var BALANCE_M
 
-    command neb-admin --host $NEB_HOST --db $NEB_DB --user $NEB_USER --pass $NEB_PASS --pendingbalance --limit 500 --so_id_start $BALANCE_SO_ID_START --so_id_range $BALANCE_SO_ID_RANGE  --balancesources $BALANCE_N --balancedestination $BALANCE_M
+    command neb-admin --host $NEB_HOST --db $NEB_DB --user $NEB_USER --pass $NEB_PASS --pendingbalance --limit $BALANCE_LIMIT --offset $BALANCE_OFFSET --so_id_start $BALANCE_SO_ID_START --so_id_range $BALANCE_SO_ID_RANGE  --balancesources $BALANCE_N --balancedestination $BALANCE_M
 
   end
@@ -125,5 +126,5 @@
     # advance the so_id counter
     $BALANCE_SO_ID_START = $BALANCE_SO_ID_START + $BALANCE_SO_ID_RANGE
-
+    $BALANCE_OFFSET = 0
     # convert 'stdout' to book format
     ipptool2book stdout balancePending -key key -uniq -setword pantaskState INIT
@@ -141,5 +142,5 @@
     # convert 'stdout' to book format
     ipptool2book stdout balancePending -key key -uniq -setword pantaskState INIT
-
+    $BALANCE_OFFSET = $BALANCE_OFFSET + $BALANCE_LIMIT
     if ($VERBOSE > 2)
       book listbook balancePending
