IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 14, 2009, 11:24:13 AM (17 years ago)
Author:
bills
Message:

use cleaned instead of purged for cleaning up magicDSRuns

File:
1 edited

Legend:

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

    r25835 r25837  
    190190            # Tell magicdstool that we've cleaned up this data, so it needs to do the same if it needs to do the same.
    191191            my $magicdstool = can_run('magicdstool') or die "Can't find magicdstool";
    192             $command = "$magicdstool -dbname gpc1  -stage $stage -stage_id $stage_id -updaterun -set_state goto_purged";
     192            $command = "$magicdstool -dbname gpc1  -stage $stage -stage_id $stage_id -updaterun -set_state goto_cleaned";
    193193            ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    194194                run(command => $command, verbose => $verbose);
     
    309309        # Tell magicdstool that we've cleaned up this data, so it needs to do the same if it needs to do the same.
    310310        my $magicdstool = can_run('magicdstool') or die "Can't find magicdstool";
    311         $command = "$magicdstool -dbname gpc1 -stage $stage -stage_id $stage_id -updaterun -set_state goto_purged";
     311        $command = "$magicdstool -dbname gpc1 -stage $stage -stage_id $stage_id -updaterun -set_state goto_cleaned";
    312312        ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    313313            run(command => $command, verbose => $verbose);
     
    444444            # Tell magicdstool that we've cleaned up this data, so it needs to do the same if it needs to do the same.
    445445            my $magicdstool = can_run('magicdstool') or die "Can't find magicdstool";
    446             $command = "$magicdstool -dbname gpc1 -stage $stage -stage_id $stage_id -updaterun -set_state goto_purged";
     446            $command = "$magicdstool -dbname gpc1 -stage $stage -stage_id $stage_id -updaterun -set_state goto_cleaned";
    447447            ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    448448                run(command => $command, verbose => $verbose);
     
    580580            # Tell magicdstool that we've cleaned up this data, so it needs to do the same if it needs to do the same.
    581581            my $magicdstool = can_run('magicdstool') or die "Can't find magicdstool";
    582             $command = "$magicdstool -dbname gpc1  -stage $stage -stage_id $stage_id -updaterun -set_state goto_purged";
     582            $command = "$magicdstool -dbname gpc1  -stage $stage -stage_id $stage_id -updaterun -set_state goto_cleaned";
    583583            ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    584584                run(command => $command, verbose => $verbose);
     
    732732            # Tell magicdstool that we've cleaned up this data, so it needs to do the same if it needs to do the same.
    733733            my $magicdstool = can_run('magicdstool') or die "Can't find magicdstool";
    734             $command = "$magicdstool -dbname gpc1 -stage $stage -stage_id $stage_id -updaterun -set_state goto_purged";
     734            $command = "$magicdstool -dbname gpc1 -stage $stage -stage_id $stage_id -updaterun -set_state goto_cleaned";
    735735            ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    736736                run(command => $command, verbose => $verbose);
Note: See TracChangeset for help on using the changeset viewer.