IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 31, 2011, 5:24:10 PM (15 years ago)
Author:
watersc1
Message:

last bit to allow overwriting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/diskspace/run_counter.pl

    r32265 r32267  
    5555my $datestring = $dt->ymd;
    5656my $outfile = "neb:///ipp_diskspace/${datestring}/run_im_counts.dat";
    57 my $out_fh = $ipprc->file_create_open($outfile);
     57my $out_fh;
     58if ($ipprc->file_exists($outfile)) {
     59    my $U_file = $ipprc->file_resolve($outfile);
     60    open($out_fh,">$U_file");
     61}
     62else {
     63    $out_fh = $ipprc->file_create_open($outfile);
     64}
    5865
    5966foreach $s (keys %stages) {
Note: See TracChangeset for help on using the changeset viewer.