RT-CRONTool Tasks

Reposting…hoping for some feedback as this is impacting our ticket
escalation strategy.

Thanks,

Hello,

I am new to Perl and RT…so this may seem like an obvious question. I
created a new script, much like the “EscalatePriority” script and I put
it in the same directory, but when I try to call it from RT-CronTool I
get the following error:

Failed to load module RT::Action::ResolveInReview. () at
/opt/rt3/bin/rt-crontool line 206.

Can someone provide a quick list of the steps needed to get a script to
work with the rt-crontool, I looked on the lists and wiki, but wasn’t
able to find anything.

Thanks,

Jeff Stark

I am new to Perl and RT…so this may seem like an obvious
question. I created a new script, much like the “EscalatePriority”
script and I put it in the same directory, but when I try to call
it from RT-CronTool I get the following error:

Failed to load module RT::Action::ResolveInReview. () at /opt/rt3/
bin/rt-crontool line 206.

There should be more of an error message inside those ()s
Two things that could cause a failure, permissions or a syntax error.
Does the user rt-crontool is running as have permission to read your
RT::Action::ResolveInReview?
Also, I assume you’ve put ResolveInReview.pm into /opt/rt3/local/lib/
RT/Action ?

-kevin

I am trying to run the task as root (figured if that doesn’t have the
privs then I am in big trouble)

I have put the code in opt/rt3/lib/RT/Action…so I would guess that
would be a good reason it was not found.

I will try moving the file and see what happens.

Thanks,

-Stark

The contents of this communication are considered SumTotal Confidential,
and should not be shared with anyone outside of SumTotal, either
electronically or verbally, without the express permission of the
author(s).From: rt-devel-bounces@lists.bestpractical.com
[mailto:rt-devel-bounces@lists.bestpractical.com] On Behalf Of Kevin
Falcone
Sent: Tuesday, May 22, 2007 12:22 PM
To: rt-devel@lists.bestpractical.com
Subject: Re: [Rt-devel] RT-CRONTool Tasks

I am new to Perl and RT…so this may seem like an obvious question.
I created a new script, much like the “EscalatePriority”
script and I put it in the same directory, but when I try to call it
from RT-CronTool I get the following error:

Failed to load module RT::Action::ResolveInReview. () at /opt/rt3/
bin/rt-crontool line 206.

There should be more of an error message inside those ()s Two things
that could cause a failure, permissions or a syntax error.
Does the user rt-crontool is running as have permission to read your
RT::Action::ResolveInReview?
Also, I assume you’ve put ResolveInReview.pm into /opt/rt3/local/lib/
RT/Action ?

-kevin

Can someone provide a quick list of the steps needed to get a script
to work with the rt-crontool, I looked on the lists and wiki, but
wasn’t able to find anything.

Thanks,

Jeff Stark


List info: lists.bestpractical.com Mailing Lists
rt-devel

List info:
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel

Hello,

I am new to Perl and RT…so this may seem like an obvious question. I
created a new script, much like the “EscalatePriority” scritp and I put
it in the same directory, but when I try to call it from RT-CronTool I
get the following error:

Failed to load module RT::Action::ResolveInReview. () at
/opt/rt3/bin/rt-crontool line 206.

Can someone provide a quick list of the steps needed to get a script to
work with the rt-crontool, I looked on the lists and wiki, but wasn’t
able to find anything.

Thanks,

Jeff Stark

Reposting…hoping for some feedback as this is impacting our escalation
strategy.

Thanks,

Hello,

I am new to Perl and RT…so this may seem like an obvious question. I
created a new script, much like the “EscalatePriority” script and I put
it in the same directory, but when I try to call it from RT-CronTool I
get the following error:

Failed to load module RT::Action::ResolveInReview. () at
/opt/rt3/bin/rt-crontool line 206.

Can someone provide a quick list of the steps needed to get a script to
work with the rt-crontool, I looked on the lists and wiki, but wasn’t
able to find anything.

Thanks,

Jeff Stark