IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 9, 2010, 5:47:56 PM (16 years ago)
Author:
watersc1
Message:

changing retention times for MD (longer dist) and 3Pi (shorter chip/diff)

File:
1 edited

Legend:

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

    r28827 r28875  
    10461046    my $args = $command;
    10471047    if ((exists($clean_alternate{$mode})) && ($clean_alternate{$mode} eq 'A')) {
    1048         $args .= " -dbname $dbname -updaterun -set_state goto_cleaned -full -set_label goto_cleaned -time_stamp_end $cleaning_date ";
     1048        $args .= " -dbname $dbname -updaterun -set_state goto_cleaned -full -set_label goto_cleaned -label $label -time_stamp_end $cleaning_date ";
    10491049    }
    10501050    elsif ((exists($clean_alternate{$mode})) && ($clean_alternate{$mode} eq 'B')) {
     
    10651065
    10661066    foreach my $mode (@mode_list) {
    1067         if ((exists($clean_alternate{$mode})) && ($clean_alternate{$mode} eq 'A')) {
    1068             my ($cleaning_date,$command) = construct_cleantool_args($date,"",$mode);
    1069             if ($cleaning_date eq 'no clean') {
    1070                 next;
    1071             }
    1072             print STDERR "$command\n";
    1073             if (!(defined($pretend) || $debug == 1)) {
    1074 #           print STDERR "BEAR IS DRIVING!?\n";
    1075                 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    1076                     run ( command => $command, verbose => $verbose );
    1077                 unless ($success) {
    1078                     $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
    1079                     &my_die("Unable to perform cleantool ($command): $error_code", 0,0,$date, $PS_EXIT_SYS_ERROR);
    1080                 }
    1081             }
    1082         }
    1083         else {
     1067#       if ((exists($clean_alternate{$mode})) && ($clean_alternate{$mode} eq 'A')) {
     1068#           my ($cleaning_date,$command) = construct_cleantool_args($date,"",$mode);
     1069#           if ($cleaning_date eq 'no clean') {
     1070#               next;
     1071#           }
     1072#           print STDERR "$command\n";
     1073#           if (!(defined($pretend) || $debug == 1)) {
     1074# #           print STDERR "BEAR IS DRIVING!?\n";
     1075#               my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
     1076#                   run ( command => $command, verbose => $verbose );
     1077#               unless ($success) {
     1078#                   $error_code = (($error_code >> 8) or $PS_EXIT_PROG_ERROR);
     1079#                   &my_die("Unable to perform cleantool ($command): $error_code", 0,0,$date, $PS_EXIT_SYS_ERROR);
     1080#               }
     1081#           }
     1082#       }
     1083#       else {
    10841084            foreach my $target (@target_list) {
    10851085                if (exists($noclean_list{$target})) {
     
    11011101                }
    11021102            }
    1103         }
     1103#       }
    11041104    }
    11051105    return(0);
Note: See TracChangeset for help on using the changeset viewer.