<HTML>
<HEAD>
<TITLE>Re: [rt-users] RT-Action Notify Group / Call from RT Crontool</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Sorry, small type, but same error:<BR>
<BR>
<BR>
/rt-crontool --verbose --search RT::Search::FromSQL --search-arg "Status = 'new' AND Queue = 'KN.DE.CR.BUSAPPL-OS'" --condition RT::Condition::UntouchedInHours --condition-arg 1 --action RT::Action::NotifyGroup —action-arg 'TESTESCALATION'<BR>
<BR>
On 02.03.2007 15:36 Uhr, "Torsten Brumm" <torsten.brumm@googlemail.com> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'>Hi Rus / RT Users,<BR>
<BR>
i'm trying to use rt-action-notify-group from RT-CRONTOOL.<BR>
<BR>
My Command:<BR>
<BR>
./rt-crontool --verbose --search RT::Search::FromSQL --search-arg "Stan RT::Condition::UntouchedInHours --condition-arg 1 --action RT::Action::NotifyGroup --action-arg 'TESTESCALATION' <BR>
<BR>
If i fire this, i get the following error under RT 3.6.3.:<BR>
<BR>
[Fri Mar  2 14:33:12 2007] [crit]: Can't call method "Parse" on an undefined value at /opt/rt3/lib/RT/Action/SendEmail.pm line 118. (/opt/rt3/lib/RT.pm:346) <BR>
<BR>
Stack trace:<BR>
        RT::__ANON__() called at /opt/rt3/lib/RT/Action/SendEmail.pm:118<BR>
        RT::Action::SendEmail::Prepare() called at /opt/rt3/lib/RT/Action/Notify.pm:65<BR>
        RT::Action::Notify::Prepare() called at ./rt-crontool:166 <BR>
Can't call method "Parse" on an undefined value at /opt/rt3/lib/RT/Action/SendEmail.pm line 118.<BR>
<BR>
Whats going wrong? Can i call this Action from Crontool or is it only for the WebUI ???<BR>
<BR>
Help pls.... <BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Verdana, Helvetica, Arial"><SPAN STYLE='font-size:12.0px'><BR>
<BR>
<BR>
-- <BR>
With kindest regards<BR>
<BR>
KÜHNE+NAGEL (AG & Co.) KG<BR>
Torsten Brumm / HAM MI-ID<BR>
Datacenter Hamburg<BR>
Bauerbergweg 25<BR>
22111 Hamburg<BR>
<BR>
Tel: +49 40 3033 33 199<BR>
Fax: +49 40 3033 344 3199<BR>
Gsm: +49 40 176 27 27 18 50<BR>
Mail: torsten.brumm@kuehne-nagel.com<BR>
Web: www.kuehne-nagel.com<BR>
<BR>
Kühne + Nagel (AG & Co.) KG, <BR>
Geschäftsleitung: Hans-Georg Brinkmann (Vors.), Uwe Bielang (Stellv.), Dr. Björn Johansson (Stellv.), Bruno Mang, Alfred Manke, Thorsten Meincke, Mark Reinhardt (Stellv.), Tim Scharwath, Jens Wollensen <BR>
<BR>
Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878, <BR>
<BR>
Persönlich haftende Gesellschaft: Kühne & Nagel A.G., Sitz: Contern/LuxemburgGeschäftsführender Verwaltungsrat: Klaus-Michael Kühne<BR>
</SPAN></FONT>
</BODY>
</HTML>