[rt-users] rt-crontool question

Mark Fuller mfuller at bandtel.com
Wed Feb 8 09:58:24 EST 2012


Correct but Owner does not work neither does anything I seem to enter this
is the error with Owner

[error]: 'Owner' is not principal id, group name, user name, user email
address or any email address
(/opt/rt4/bin/../lib/RT/Action/NotifyGroup.pm:131)



Mark

-----Original Message-----
From: rt-users-bounces at lists.bestpractical.com
[mailto:rt-users-bounces at lists.bestpractical.com] On Behalf Of Kevin
Falcone
Sent: Tuesday, February 07, 2012 5:33 PM
To: rt-users at lists.bestpractical.com
Subject: Re: [rt-users] rt-crontool question

> > > /opt/rt4/bin/rt-crontool --search RT::Search::FromSQL --search-arg
"Status
> > > = 'open'" --condition RT::Condition::UntouchedInHours
--condition-arg
> > > '1'--action  RT::Action::NotifyGroup --action-arg '$owner'
--template
> >
> > Is there a space between '1' and --action?  If not, the command isn't
> > seeing the action argument.
> >
> > I'll also note that I'm not sure what $owner is in your usage above.

> I am trying to get it to notify whoever the owner of the ticket is and
> that is from what I can see is the variable for the tickets owner

That isn't how that action works.  It sounds like you want Notify and
to pass the argument Owner, not $owner.

-kevin



More information about the rt-users mailing list