IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 40459


Ignore:
Timestamp:
Jun 27, 2018, 1:10:35 PM (8 years ago)
Author:
eugene
Message:

respect --dbname option

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/regpeek.pl

    r34018 r40459  
    2121}
    2222print "Date: $date\n";
    23 print "CMD: regtool -checkstatus -date $date -class_id ota33 -dbname gpc1 -simple\n";
    24 chomp(my $bad_exp = `regtool -checkstatus -date $date -class_id ota33 -dbname gpc1 -simple | grep 'stop run' | head -1`);
     23print "CMD: regtool -checkstatus -date $date -class_id ota33 -dbname $dbname -simple\n";
     24chomp(my $bad_exp = `regtool -checkstatus -date $date -class_id ota33 -dbname $dbname -simple | grep 'stop run' | head -1`);
    2525my @row = split /\s+/, $bad_exp;
    2626if ($#row == 18) {
     
    4949    print "$exp_name  $class_id $bt_state $data_state $uri\t";
    5050    if (($bt_state > -10)&&($data_state eq 'check_burntool')) {
    51         print "#??? regtool -updateprocessedimfile -exp_id $exp_id -class_id $class_id -set_state pending_burntool -dbname gpc1";
     51        print "#??? regtool -updateprocessedimfile -exp_id $exp_id -class_id $class_id -set_state pending_burntool -dbname $dbname";
    5252    }
    5353    print "\n";
Note: See TracChangeset for help on using the changeset viewer.