[rt-users] RT-Action Notify Group / Call from RT Crontool

Torsten Brumm | Kuehne + Nagel torsten.brumm at kuehne-nagel.com
Fri Mar 2 09:42:16 EST 2007


Sorry, small type, but same error:


/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'

On 02.03.2007 15:36 Uhr, "Torsten Brumm" <torsten.brumm at googlemail.com>
wrote:

> Hi Rus / RT Users,
> 
> i'm trying to use rt-action-notify-group from RT-CRONTOOL.
> 
> My Command:
> 
> ./rt-crontool --verbose --search RT::Search::FromSQL --search-arg "Stan
> RT::Condition::UntouchedInHours --condition-arg 1 --action
> RT::Action::NotifyGroup --action-arg 'TESTESCALATION'
> 
> If i fire this, i get the following error under RT 3.6.3.:
> 
> [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)
> 
> Stack trace:
>         RT::__ANON__() called at /opt/rt3/lib/RT/Action/SendEmail.pm:118
>         RT::Action::SendEmail::Prepare() called at
> /opt/rt3/lib/RT/Action/Notify.pm:65
>         RT::Action::Notify::Prepare() called at ./rt-crontool:166
> Can't call method "Parse" on an undefined value at
> /opt/rt3/lib/RT/Action/SendEmail.pm line 118.
> 
> Whats going wrong? Can i call this Action from Crontool or is it only for the
> WebUI ???
> 
> Help pls.... 



-- 
With kindest regards

KÜHNE+NAGEL (AG & Co.) KG
Torsten Brumm / HAM MI-ID
Datacenter Hamburg
Bauerbergweg 25
22111 Hamburg

Tel: +49 40 3033 33 199
Fax: +49 40 3033 344 3199
Gsm: +49 40 176 27 27 18 50
Mail: torsten.brumm at kuehne-nagel.com
Web: www.kuehne-nagel.com

Kühne + Nagel (AG & Co.) KG,
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

Sitz: Bremen, Registergericht: Bremen, HRA 21928, USt-IdNr.: DE 812773878,

Persönlich haftende Gesellschaft: Kühne & Nagel A.G., Sitz:
Contern/LuxemburgGeschäftsführender Verwaltungsrat: Klaus-Michael Kühne

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20070302/4e8cd23f/attachment.htm>


More information about the rt-users mailing list