Changeset 21410 for trunk/pstamp/scripts/pstamp_job_run.pl
- Timestamp:
- Feb 6, 2009, 5:44:55 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/pstamp/scripts/pstamp_job_run.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pstamp/scripts/pstamp_job_run.pl
r20152 r21410 18 18 my $dbname; 19 19 my $job_id; 20 my $redirect_output; 21 my $output_base; 20 22 21 23 my $host = hostname(); … … 23 25 24 26 GetOptions( 25 'job_id=s' => \$job_id, 26 'dbname=s' => \$dbname, 27 'verbose' => \$verbose, 27 'job_id=s' => \$job_id, 28 'output_base=s' => \$output_base, 29 'redirect-output' => \$redirect_output, 30 'dbname=s' => \$dbname, 31 'verbose' => \$verbose, 28 32 ); 29 33 … … 35 39 36 40 die "job_id is required" if !$job_id; 41 die "output_base is required" if !$output_base; 37 42 38 43 use IPC::Cmd 0.36 qw( can_run run ); … … 53 58 caturi 54 59 ); 60 my $ipprc = PS::IPP::Config->new(); # IPP Configuration 61 62 if ($redirect_output) { 63 my $logDest = "$output_base.log"; 64 $ipprc->redirect_output($logDest); 65 } 55 66 56 67 my $missing_tools;
Note:
See TracChangeset
for help on using the changeset viewer.
