It would appear the action-arg is dependent on the action. I'm not sure
if they support the same features. You may need to check out the source
for them. Mine was for LinearEscalate.
On 10-12-07 11:17 AM, Curtis Bruneau wrote:
I've used the following to make it transparent, also not updating last
update.
-action-arg "RecordTransaction: 0" --action-arg "UpdateLastUpdated: 0"
On 10-12-07 11:08 AM, imonike wrote:
Hello Kevin,
Thanks for your reply. Please how would I do it if I
wanted to avoid cluttering up history?
Regards
Imonike
Kevin Falcone-2 wrote:
On Mon, Dec 06, 2010 at 05:51:30PM -0500, Bernard McCormack wrote:
I had a problem with this as well you have to create a template
with :
RT-Send-Bcc: {$Ticket->Owner}
And use the action record comment
--action RT::Action::RecordComment --template 'your template name
here'
While this is preferred, it is possible to avoid the RecordComment if
you don't want it cluttering up history.
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of imonike
Sent: Monday, December 06, 2010 8:06 AM
To: [email protected]
Subject: [rt-users] Problem with rt-crontool and SendEmail(Re-posted
because I did not register before posting it originally)
Hello all,
Please I am having problems setting up rt-crontool and
using
the SendEmail action. I have created a user called rtcrontool, and in
this
user's home directory, I have set-up a shell script called
rtcrontool.sh
with the following command in it:
/opt/rt3/bin/rt-crontool \
--search RT::Search::ActiveTicketsInQueue --search-arg 'nigerian
colleges'
\
--condition RT::Condition::Overdue \
--action RT::Action::SendEmail --action-arg [email protected] \
I haven't yet set it up as a cron job but when I run the script
from the
command line this is what I get:
[crit]: Can't call method "Parse" on an undefined value at
/opt/rt3/bin/../lib/RT/Action/SendEmail.pm line 155.
(/opt/rt3/bin/../lib/RT.pm:377)
Can't call method "Parse" on an undefined value at
/opt/rt3/bin/../lib/RT/Action/SendEmail.pm line 155.
I have tried googling a solution to no avail. Please any pointers
as to
how
to resolve this issue will be greatly appreciated.
Thanks
--
View this message in context:
http://old.nabble.com/Problem-with-rt-crontool-and-SendEmail%28Re-posted
-because-I-did-not-register-before-posting-it-originally%29-tp30366714p3
0366714.html
Sent from the Request Tracker - User mailing list archive at
Nabble.com.