[rt-users] rt-crontool error
falcone at bestpractical.com
Tue Nov 11 14:13:27 EST 2014
On Mon, Nov 10, 2014 at 12:39:14AM -0500, support at pureview.com wrote:
> I'm running this crontool line:
> rt-crontool --search RT::Search::FromSQL --search-arg "Queue = 'general'
> AND Owner != 'Nobody' AND ( Status = 'open' OR Status = 'new' ) AND
> Created < '1 day ago'" --action RT::Action::SendEmail --action-arg
> Owner,AlwaysNotifyActor --template 'Reminder due soon' --transaction first
> Once is ran. rt log is showing this errors:
>  [Mon Nov 3 06:01:53 2014] [error]: Template parsing error: Can't
> call method "TargetObj" on an undefined value at template line 1.
Your error log points the finger at your template, which I don't think
you included, so it's hard to comment.
I'd guess you're calling the TargetObj on an undefined object in the
first line of it though.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 221 bytes
Desc: not available
More information about the rt-users