IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 10, 2015, 11:52:20 AM (11 years ago)
Author:
heather
Message:

final tweaks for addstar multi mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/minidvodb_createdb.pl

    r33030 r38584  
    3939}
    4040
    41 my (  $outroot, $dbname, $dvodb, $minidvodb,$minidvodb_interval, $minidvodb_group, $camera,  $verbose, $no_update,
     41my (  $outroot, $dbname, $dvodb, $minidvodb,$minidvodb_interval, $minidvodb_nums, $minidvodb_group, $camera,  $verbose, $no_update,
    4242     $no_op, $redirect, $save_temps);
    4343GetOptions(
     
    4949    'minidvodb|w=s'     => \$minidvodb, # output miniDVODB
    5050    'interval|w=s'      => \$minidvodb_interval, #interval between creation of minidvodbs (default = 1day)
     51    'num|w=s'      => \$minidvodb_nums, #interval between creation of minidvodbs (default = 500 addRuns)
    5152    'verbose'           => \$verbose,   # Print to stdout
    5253    'no-update'         => \$no_update, # Update the database?
     
    111112    $minidvodb_interval = 1;
    112113}
     114if (!defined $minidvodb_nums) {
     115    $minidvodb_nums = 500
     116}
    113117
    114118
     
    207211
    208212
    209     if ($addRun_count > 500) {
     213    if ($addRun_count > $minidvodb_nums) {
    210214        #it's too big, create_new
    211215        $create_new = 1;
Note: See TracChangeset for help on using the changeset viewer.