RT-Action Notify Group / Call from RT Crontool

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…

MFG

Torsten Brumm

http://www.torsten-brumm.de

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@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@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

This action (as other notify actions) require template (–template-id
option) and also look into --transaction* options.On 3/2/07, Torsten Brumm torsten.brumm@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…


MFG

Torsten Brumm

http://www.torsten-brumm.de

Best regards, Ruslan.