IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 30, 2010, 9:31:50 AM (16 years ago)
Author:
eugene
Message:

updates from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20100621/ippToPsps/scripts/removeFromDatastore.pl

    r27866 r28794  
    1919pod2usage(
    2020        -msg => "\n   Required options:\n\n".
    21         "--start <jobStartNumber> [--end <jobEndNumber>]\n".
     21        "--start <batchStartNumber> [--end <batchEndNumber>]\n".
    2222        "--product <datastoreProduct>\n",
    2323        -exitval => 3
     
    3333for ($i=$start; $i<$end+1; $i++) {
    3434
    35     my $job = sprintf("J%06d", $i);
    36     my $command  = "dsreg --del $job --product $product";
     35    my $tarball = sprintf("B%08d", $i);
     36    my $command  = "dsreg --del $tarball --product $product";
    3737
    3838    run(command => $command, verbose => 1);
Note: See TracChangeset for help on using the changeset viewer.