[rt-users] Re: Using RTx::shredder (v0.06)

Ruslan Zakirov ruslan.zakirov at gmail.com
Thu Aug 2 18:31:33 EDT 2007


On 8/3/07, mailing list <sunlist at yahoo.com> wrote:
>
> --- Ruslan Zakirov <ruslan.zakirov at gmail.com> wrote:
>
> > > rtx-shredder --plugin 'Tickets=status,deleted;queue,general'
> > this call delete 10 (see option limit) tickets in general queue with
> > status equal to deleted.
>
> Excellent, the above command works, and it writes an SQL timestamped file.
>
>
> > > And does rtx-shredder --plugin 'Users=<USERNAME>' remove the user?
> > yes, however it deletes only disabled users.
>
> I searched for disabled users and the user "Mike" does shows up in RT.
> However, I cannot removed the disabled user.  The below command returns as
> follow, and the SQL file is empty
>
> rtx-shredder --plugin 'Users=Mike'
> SQL dump file is '/opt/rt3/local/sbin/20070802T214537-0001.sql'
> Couldn't load plugin
> Error: Plugin doesn't support argument(s): Mike
rtx-shredder --plugin 'Users=name,Mike'

syntax is --plugin
'PluginName=ArgumentName,ArgumentValue;ArgumentName,ArgumentValue'
may be it's crappy, but I didn't come up with a better one and nobody
suggested something better.


>
> Regards,
>
> Mike
>
>
>
>       ____________________________________________________________________________________
> Luggage? GPS? Comic books?
> Check out fitting gifts for grads at Yahoo! Search
> http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz
>


-- 
Best regards, Ruslan.



More information about the rt-users mailing list