[rt-users] Re: searching on untouched tickets

Stephane Bortzmeyer bortzmeyer at nic.fr
Wed Mar 30 15:26:05 EST 2005


On Mon, Mar 28, 2005 at 02:53:06PM -0800,
 matthew zeier <mrz at intelenet.net> wrote 
 a message of 25 lines which said:

> I need to search for tickets that haven't been touched in 2 hours and 
> reassign to an alternate owner.  What's the right limit to use?

May be (untested):

$tickets->LimitDate(FIELD => 'LastUpdated', OPERATOR => '>', 
  VALUE => localtime() - 2*3600);
 



More information about the rt-users mailing list