[rt-users] rt-crontool question
Kevin Falcone
falcone at bestpractical.com
Tue Feb 7 17:32:58 EST 2012
> > > /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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20120207/c43fc1ae/attachment.sig>
More information about the rt-users
mailing list