IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 21, 2010, 11:35:15 AM (16 years ago)
Author:
Paul Price
Message:

Add date of processing to output log.

File:
1 edited

Legend:

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

    r27014 r27718  
    88use Sys::Hostname;
    99my $host = hostname();
     10my $date = `date`;
    1011print "\n\n";
    11 print "Starting script $0 on $host\n\n";
     12print "Starting script $0 on $host at $date\n\n";
    1213
    1314use vars qw( $VERSION );
     
    4647           'dist_id=s'      => \$dist_id,    # distribution run identifier
    4748           'dist_dir=s'     => \$dist_dir,   # directory containing dist run outputs
    48            'target_id=s'    => \$target_id,  # 
     49           'target_id=s'    => \$target_id,  #
    4950           'stage=s'        => \$stage,      # raw, chip, camera, fake, warp, stack, or diff
    5051           'stage_id=s'     => \$stage_id,   # exp_id, chip_id, etc.
     
    209210    my $dsn = "DBI:mysql:host=$dbserver;database=$dbname";
    210211
    211     my $dbh = DBI->connect($dsn, $dbuser, $dbpassword) 
     212    my $dbh = DBI->connect($dsn, $dbuser, $dbpassword)
    212213        or die "Cannot connect to database.\n";
    213214
     
    227228
    228229    #
    229     # we are a long ways away from the rawExp in the pipeline. Rather than do some 
     230    # we are a long ways away from the rawExp in the pipeline. Rather than do some
    230231    # very long joins in disttool, we look up the exp_name in the database using DBI
    231232    #
    232233    my $dbh = getDBHandle($ipprc, $dbname);
    233234
    234     my $query; 
     235    my $query;
    235236
    236237    if ($stage eq 'raw') {
Note: See TracChangeset for help on using the changeset viewer.