[rt-users] RT-Crontool and userdefined code

Ben Blakely BBlakely at blink.ca
Tue May 9 12:16:56 EDT 2006


Can anybody lead me in the right direction with this? I have created
some code that I would like to execute using RT::Action::UserDefined.pm
but im not to sure how to do it via rt-crontool. Any help would be
appreciated guys.





From: rt-devel-bounces at lists.bestpractical.com
[mailto:rt-devel-bounces at lists.bestpractical.com] On Behalf Of Ben
Sent: Friday, May 05, 2006 2:15 PM
To: rt-devel at lists.bestpractical.com
Subject: [Rt-devel] RT-Crontool search and action



Hello All,


Im trying to search for a ticket in the new and open status with a
certain custom field, if it matches, I would like to move it to a new


Any ideas? Here is what I have for the search syntax but not sure what
the action syntax is to move it to a new queue. I seached the .pm files
in ../rt3/lib/rt/actions.. but cant find anything that would lead me in
the right direction.


/opt/rt3/bin/rt-crontool --search RT::Search::FromSQL --search-arg
"(Status = 'new' OR Status = 'open') AND Queue = 'Support Level 1' AND
'CF.ServiceType' = 'Move/Add/Change/Delete - DNS'"  --action





-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20060509/c2c152c0/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ATT36183.txt
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20060509/c2c152c0/attachment.txt>

More information about the RT-Users mailing list