IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 2, 2010, 2:24:00 PM (16 years ago)
Author:
bills
Message:

during cleanup only change magicDSRun.state to 'goto_cleaned' if the current state is 'full'

File:
1 edited

Legend:

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

    r26939 r27144  
    193193            # Tell magicdstool that we've cleaned up this data, so it needs to do the same if it needs to do the same.
    194194            my $magicdstool = can_run('magicdstool') or die "Can't find magicdstool";
    195             $command = "$magicdstool -stage $stage -stage_id $stage_id -updaterun -set_state goto_cleaned";
     195            $command = "$magicdstool -stage $stage -stage_id $stage_id -updaterun -set_state goto_cleaned -state full";
    196196            $command .= " -dbname $dbname" if defined $dbname;
    197197            ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
     
    313313        # Tell magicdstool that we've cleaned up this data, so it needs to do the same if it needs to do the same.
    314314        my $magicdstool = can_run('magicdstool') or die "Can't find magicdstool";
    315         $command = "$magicdstool -stage $stage -stage_id $stage_id -updaterun -set_state goto_cleaned";
     315        $command = "$magicdstool -stage $stage -stage_id $stage_id -updaterun -set_state goto_cleaned -state full";
    316316        $command .= " -dbname $dbname" if defined $dbname;
    317317        ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
     
    449449            # Tell magicdstool that we've cleaned up this data, so it needs to do the same if it needs to do the same.
    450450            my $magicdstool = can_run('magicdstool') or die "Can't find magicdstool";
    451             $command = "$magicdstool -stage $stage -stage_id $stage_id -updaterun -set_state goto_cleaned";
     451            $command = "$magicdstool -stage $stage -stage_id $stage_id -updaterun -set_state goto_cleaned -state full";
    452452            $command .= " -dbname $dbname" if defined $dbname;
    453453            ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
     
    586586            # Tell magicdstool that we've cleaned up this data, so it needs to do the same if it needs to do the same.
    587587            my $magicdstool = can_run('magicdstool') or die "Can't find magicdstool";
    588             $command = "$magicdstool -stage $stage -stage_id $stage_id -updaterun -set_state goto_cleaned";
     588            $command = "$magicdstool -stage $stage -stage_id $stage_id -updaterun -set_state goto_cleaned -state full";
    589589            $command .= " -dbname $dbname" if defined $dbname;
    590590            ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
     
    739739            # Tell magicdstool that we've cleaned up this data, so it needs to do the same if it needs to do the same.
    740740            my $magicdstool = can_run('magicdstool') or die "Can't find magicdstool";
    741             $command = "$magicdstool -stage $stage -stage_id $stage_id -updaterun -set_state goto_cleaned";
     741            $command = "$magicdstool -stage $stage -stage_id $stage_id -updaterun -set_state goto_cleaned -state full";
    742742            $command .= " -dbname $dbname" if defined $dbname;
    743743            ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
Note: See TracChangeset for help on using the changeset viewer.