- Timestamp:
- Dec 6, 2024, 1:30:43 PM (20 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20230313/ippScripts/scripts/addstar_run.pl
r42619 r42755 41 41 42 42 my ( $add_id, $camera, $stage, $stage_id, $outroot, $stageroot, $dbname, $reduction, 43 $dvodb, $minidvodb, $minidvodb_name, $minidvodb_group, $ minidvodb_host, $image_only, $verbose,44 $no_update, $no_op, $redirect, $save_temps, $ dvodbhost);43 $dvodb, $minidvodb, $minidvodb_name, $minidvodb_group, $image_only, $verbose, 44 $no_update, $no_op, $redirect, $save_temps, $addrun_host); 45 45 GetOptions( 46 46 'add_id=s' => \$add_id, # Camtool identifier … … 62 62 'redirect-output' => \$redirect, 63 63 'save-temps' => \$save_temps, # Save temporary files? 64 ' dvodbhost|w=s' => \$dvodbhost, # miniDVO database group64 'addrun_host|w=s' => \$addrun_host, # miniDVO database host 65 65 ) or pod2usage( 2 ); 66 66 67 67 pod2usage( -msg => "Unknown option: @ARGV", -exitval => 2 ) if @ARGV; 68 68 pod2usage( 69 -msg => "Required options: --add_id --camera --outroot --dvodb --stageroot --stage --dbname -- dvodbhost",69 -msg => "Required options: --add_id --camera --outroot --dvodb --stageroot --stage --dbname --addrun_host", 70 70 -exitval => 3, 71 71 ) unless … … 76 76 defined $dvodb and 77 77 defined $dbname and 78 defined $ dvodbhost and78 defined $addrun_host and 79 79 defined $camera; 80 80 … … 173 173 $minidvodb_path = $comp->{minidvodb_path}; 174 174 $minidvodb_name = $comp->{minidvodb_name}; 175 $ minidvodb_host = $comp->{minidvodb_host};175 $addrun_host = $comp->{addrun_host}; 176 176 177 177 if (!defined($minidvodb_path)) { &my_die("Unable to parse minidvodb_path", $add_id, $PS_EXIT_PROG_ERROR); } … … 260 260 $fpaCommand .= " -dvodb_path $minidvodb_path" if defined $minidvodb_path; 261 261 $fpaCommand .= " -minidvodb_name $minidvodb_name" if defined $minidvodb_name; 262 $fpaCommand .= " - minidvodb_host $dvodbhost" if defined $dvodbhost;262 $fpaCommand .= " -addrun_host $addrun_host" if defined $addrun_host; 263 263 $fpaCommand .= " -dbname $dbname" if defined $dbname; 264 264 … … 295 295 $command .= (" -dtime_addstar " . ((DateTime->now->mjd - $mjd_start) * 86400)); 296 296 $command .= " -minidvodb_name $minidvodb_name" if defined $minidvodb_name; # dont think we want it recorded (not sure) 297 $command .= " - minidvodb_host $dvodbhost" if defined $dvodbhost; # dont think we want it recorded (not sure)297 $command .= " -addrun_host $addrun_host" if defined $addrun_host; 298 298 $command .= " -stage_extra1 $stage_extra1" if defined $stage_extra1; 299 299 $command .= " -dbname $dbname" if defined $dbname;
Note:
See TracChangeset
for help on using the changeset viewer.
