IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 3, 2010, 7:11:23 PM (16 years ago)
Author:
heather
Message:

minidvodb tested. trying itout on MD05, 04 and 07 now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/minidvodb.pro

    r28181 r28211  
    227227    end
    228228#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
    229230    $run = addtool -checkminidvodbrunaddrun -state waiting
    230231    $run = $run -minidvodb_group $minidvodb_group
     
    369370      if ($MINIDVODB_DB >= $DB:n) set MINIDVODB_DB = 0
    370371    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
    373375    $run = $run -minidvodb_group $minidvodb_group
    374376    if ($DB:n == 0)
     
    418420  periods      -poll $RUNPOLL
    419421  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
    421428
    422429  task.exec
     
    447454      # save the DB name for the exit tasks
    448455      option $DB:$MINIDVODB_DB
    449       $run = $run -dbname $DB:$MINIDVODB_DB
     456      $run = $run --dbname $DB:$MINIDVODB_DB
    450457      $MINIDVODB_DB ++
    451458      if ($MINIDVODB_DB >= $DB:n) set MINIDVODB_DB = 0
     
    605612      end
    606613      book getpage MINIDVODB_ACTIVE 0 -var minidvodb_group -key STATE NEW
    607 
     614     
    608615      # Select different database
    609616      $MINIDVODB_DB ++
    610617      if ($MINIDVODB_DB >= $DB:n) set MINIDVODB_DB = 0
    611618    end
    612 
     619    book setword MINIDVODB_ACTIVE $minidvodb_group STATE DONE
    613620   
    614621    $run = addtool -listminidvodbrun -state new
Note: See TracChangeset for help on using the changeset viewer.