IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28211 for trunk/ippTasks


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.

Location:
trunk/ippTasks
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/addstar.pro

    r28181 r28211  
    171171    if ("$MINIDVODB" == "T")
    172172    $run = $run --minidvodb
    173     $run = $run --minidvodb_group
     173    $run = $run --minidvodb_group $MINIDVODB_GROUP
    174174        if (("$MINIDVODB_NAME" != "NULL") && ("$MINIDVODB_NAME" != "(null)"))
    175            $run = $run --minidvodb_name #have addstar_run.pl grab the 'active' name if it is NULL
     175           $run = $run --minidvodb_name $MINIDVODB_NAME #have addstar_run.pl grab the 'active' name if it is NULL
    176176        end
    177177    end
  • 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
  • trunk/ippTasks/survey.pro

    r28181 r28211  
    650650    end
    651651   
    652     $run = $run -definebyquery -destreaked -label $label -set_dvodb $dvodb -set_minidvodb_group $minidvodb_group
     652    $run = $run -definebyquery -destreaked -label $label -set_dvodb $dvodb -set_minidvodb_group $minidvodb_group -set_minidvodb -set_label $minidvodb_group
    653653    echo $run
    654654    command $run
Note: See TracChangeset for help on using the changeset viewer.