Changeset 38584 for trunk/ippScripts/scripts/minidvodb_createdb.pl
- Timestamp:
- Jul 10, 2015, 11:52:20 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/minidvodb_createdb.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/minidvodb_createdb.pl
r33030 r38584 39 39 } 40 40 41 my ( $outroot, $dbname, $dvodb, $minidvodb,$minidvodb_interval, $minidvodb_ group, $camera, $verbose, $no_update,41 my ( $outroot, $dbname, $dvodb, $minidvodb,$minidvodb_interval, $minidvodb_nums, $minidvodb_group, $camera, $verbose, $no_update, 42 42 $no_op, $redirect, $save_temps); 43 43 GetOptions( … … 49 49 'minidvodb|w=s' => \$minidvodb, # output miniDVODB 50 50 '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) 51 52 'verbose' => \$verbose, # Print to stdout 52 53 'no-update' => \$no_update, # Update the database? … … 111 112 $minidvodb_interval = 1; 112 113 } 114 if (!defined $minidvodb_nums) { 115 $minidvodb_nums = 500 116 } 113 117 114 118 … … 207 211 208 212 209 if ($addRun_count > 500) {213 if ($addRun_count > $minidvodb_nums) { 210 214 #it's too big, create_new 211 215 $create_new = 1;
Note:
See TracChangeset
for help on using the changeset viewer.
