IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

Updates to finish migration of summarization code into nebulous outputs

File:
1 edited

Legend:

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

    r32233 r32265  
    5252my $nebcon = $ipprc->nebulous();
    5353
    54 my @lt = localtime;
    55 $lt[5] += 1900;
    56 $lt[4] += 1;
    57 $lt[3] -= $lt[6];
    58 my $datestring = sprintf("%04d-%02d-%02d",$lt[5],$lt[4],$lt[3]);
     54my @lt = gmtime;
     55$dt = DateTime->now;
     56$dt->subtract( days => $lt[6]);
     57my $datestring = $dt->ymd;
    5958my $outfile = "neb:///ipp_diskspace/${datestring}/${neb}.neb_usage.dat";
    6059my $out_fh = $ipprc->file_create_open($outfile);
Note: See TracChangeset for help on using the changeset viewer.