SetStatus with rt-Crontoll

I have used the SetPriority example from the Wiki and I am trying to
resolve tickets after a couple of days, but when I try to SetStatus in
place of SetPriority, I get the following error:

[Wed Feb 15 12:41:45 2006] [crit]: Failed to load module
RT::Action::SetStatus. () at /opt/rt3/bin/rt-crontool line 163.
(/opt/rt3/lib/RT.pm:295)

I am trying to execute this:
/opt/rt3/bin/rt-crontool
–search RT::Search::ActiveTicketsInQueue --search-arg onyxplus
–condition RT::Condition::UntouchedInHours --condition-arg 0
–action RT::Action::SetStatus --action-arg resolved
–verbose

Any Ideas what could be wrong?

Regards
leon

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

I have used the SetPriority example from the Wiki and I am trying to
resolve tickets after a couple of days, but when I try to SetStatus in
place of SetPriority, I get the following error:

[Wed Feb 15 12:41:45 2006] [crit]: Failed to load module
RT::Action::SetStatus. () at /opt/rt3/bin/rt-crontool line 163.
(/opt/rt3/lib/RT.pm:295)

I am trying to execute this:
/opt/rt3/bin/rt-crontool
–search RT::Search::ActiveTicketsInQueue --search-arg onyxplus
–condition RT::Condition::UntouchedInHours --condition-arg 0
–action RT::Action::SetStatus --action-arg resolved
–verbose

Any Ideas what could be wrong?
Yes, there is no SetStatus action in the RT.

Regards
leon


This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Download a free sample chapter of RT Essentials from O’Reilly Media at http://rtbook.bestpractical.com

WE’RE COMING TO YOUR TOWN SOON - RT Training in Amsterdam, Boston and
San Francisco - Find out more at http://bestpractical.com/services/training.html

Best regards, Ruslan.

Any Ideas what could be wrong?
Yes, there is no SetStatus action in the RT.

Here’s the SetStatus.pm I am using in RT 3.4.4:

http://www.amsterdamned.org/~bc/rt/devel/SetStatus.pm

Should go here, I believe:

/opt/rt3/local/lib/RT/Action/

~trask