[rt-users] rt-crontool question

Kevin Falcone falcone at bestpractical.com
Tue Feb 7 15:05:11 EST 2012


On Tue, Feb 07, 2012 at 02:43:50PM -0500, Mark Fuller wrote:
> Ok I changed everything and still get errors
> 
> /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.

-kevin

> '21' --transaction  'last'  transaction-type  'Correspond' --verbose >
> /var/log/open3daynotifyowner.out
> 
> 
> Any ideas the output is the rtcrontool help menu
-------------- 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/7978e6f8/attachment.sig>


More information about the rt-users mailing list