[rt-users] Problems with RTx::Shredder!

Ruslan U. Zakirov cubic at acronis.ru
Wed Sep 8 12:13:31 EDT 2004


		Hello, Sven.
Hmmm. As I see users a little bit confused with my distribution :(

Did you see `rtx-shredder` script? It should be installed with 
RTx::Shredder under /path/to/rt3/local/sbin path.

RTx::Shredder currently is more API then end-user tool. For end-user 
there is two scripts `rtx-shredder` and `rtx-validator`. Both under 
'local/sbin'.

I'll try to update docs to be more clear on this topic in next release.


					Best regards. Ruslan.

PS: See also comment below about your error.

Sven Sternberger wrote:
> Hello!
> 
> I'm running RT3.0.11 on a debian sarge box. Now I installed
> RTx::Shredder v0.01. But the "demo" programm, don't work :-(
> 
> 
> #!/usr/bin/perl
> 
> use lib "/usr/share/request-tracker3/lib";
> 
> use RTx::Shredder;
> 
> RTx::Shredder::Init();
> my $deleted = RT::Tickets->new( $RT::SystemUser );
> $deleted->{'allow_deleted_search'} = 1;
> $deleted->Limit( VALUE => 'deleted' );

You forgot "FIELD => 'Status'" here.


> print "Start wipeout\n";
> while( my $t = $deleted->Next ) {
>         print ".";
>         $t->Wipeout;
> }
> print "\nEnded\n";
> 



More information about the rt-users mailing list