[rt-users] 2. try ;-) Limit user in a perl script

Thomas Sibley trs at bestpractical.com
Wed Sep 19 14:03:02 EDT 2012


On 09/19/2012 06:48 AM, Björn Schulz wrote:
> But it takes much time (about 7 minutes per user )
> in my system for every user.
> 
> ~500.000 tickets
> ~ 61.100 users
> 
> Is there a better method to limit the user with no tickets and no
> attachments or what am I doing wrong?

Why are you looking to delete users with no tickets in the first place?

(Note that your search won't count deleted tickets that the user may be
a watcher on, but those tickets still exist and shredder will need to be
told what to do with them.)




More information about the rt-users mailing list