IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 27, 2011, 3:47:51 PM (15 years ago)
Author:
bills
Message:

add script to regenerate missing input files for a given component. Add flag
to tell the various scripts to delete existing log file (for use when the instance
is not available)

File:
1 edited

Legend:

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

    r31435 r31941  
    4040my ($skycell_id, $diff_skyfile_id);
    4141my ($use_convolved);
     42my $zaplog = 0;
     43
    4244GetOptions(
    4345    'diff_id=s'         => \$diff_id, # Diff identifier
     
    5557    'no-op'             => \$no_op, # Don't do any operations?
    5658    'redirect-output'   => \$redirect,
     59    'zaplog'            => \$zaplog, # delete any previous log file
    5760) or pod2usage( 2 );
    5861
     
    8285    $logDest .= '.update';
    8386    # ... well we can just do the dirty work here
     87    $ipprc->kill_file($logDest);
     88} elsif ($zaplog) {
    8489    $ipprc->kill_file($logDest);
    8590}
Note: See TracChangeset for help on using the changeset viewer.