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

Ruslan Zakirov ruslan.zakirov at gmail.com
Fri Mar 2 13:35:43 EST 2007


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 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....
>
> --
> MFG
>
> Torsten Brumm
>
> http://www.torsten-brumm.de


-- 
Best regards, Ruslan.



More information about the rt-users mailing list