[rt-users] issue using rt-crontool

Chris chris-lists at pipelinewireless.us
Mon Nov 14 13:13:30 EST 2005


I'm having an issue running a cron job using rt-crontool:

#0 3 * * * /opt/rt3/bin/rt-crontool --search RT::Search::FromSQL \
#--search-arg "LastUpdated < '3 days ago'  AND Status != 'resolved' AND
Status != 'rejected'" \
#--action RT::Action::RecordComment --template 'Ignored tickets' 

Gives me this error:

(/opt/rt3/lib/RT/Template_Overlay.pm:369)
[Mon Nov 14 18:06:05 2005] [error]: Template parsing error: Can't call
method "CreatedAsString" on an undefined value at template line 3.
 (/opt/rt3/lib/RT/Template_Overlay.pm:415)
[Mon Nov 14 18:06:05 2005] [error]: error:    unexpected end of header

This might be something easy, but I'm not a perl or script person - I just
use it as is, so my apologies if this is an easy fix.

Using RT3.4.4 on CentOS4.2, Apache 2.0.52, mysql 4.1.12.

Thanks,
Chris




More information about the rt-users mailing list