–search-arg “Queue = ‘cerby’ AND Status = ‘closed’” ****
–action RT::Action::SetQueue \ ****
–action-arg 14 –verbose
I get the following error when I run this****
Failed to load module RT::Action::SetQueue.
Your command line looks mostly fine to me except I’d use single quotes to
enclose the parameter and double quotes to enclose data within the
parameter.
eg:
–search-arg ‘Queue = “cerby” AND Status = “closed”’
Did you modify /opt/rtX/lib/RT/Action/SetQueue.pm ? It it’s not
executable then rt-crontool will not be able to load the module. I had the
same issue when I started learning how to deal with modules and creating
new ones. I haven’t figured out how to debug what line is causing it to
not load though. There’s probably some one liner that will tell you where
the syntax error is but I don’t know what that line is. Using the rt.log
to find out why it didn’t execute doesn’t help either unless it’s executing
as a result of a scrip.