[Rt-devel] rt-crontool not doing jobs
Andy Werner
Andy.Werner at amxinc.com
Tue Apr 22 12:16:08 EDT 2008
I am trying to set up some cron jobs in rt-crontool but it seems like nothing happens when I set up the jobs. I tried looking at the log file in rt3/var/log but there are no errors. I'm thinking that the issue is with syntax. Here are some examples of the cron jobs that I set up:
1) /home/amxrt/rt3/bin/rt-crontool --search RT::Search::FromSQL --search-arg "Status = 'Resolved' AND ('CF.{Ticket Summary}' = 'Not Complete' OR 'CF.{Ticket Summary}' LIKE 'NULL') AND Queue != 'AMX-IT_Department'" --action RT::Action::RecordComment --template 'Ticket Summary Reminder'
2) /home/amxrt/rt3/bin/rt-crontool --search RT::Search::FromSQL --search-arg "(Status = 'new' or Status = 'open' or Status = 'stalled') AND (FinalPriority = 0 or Due = '') AND Queue != 'AMX-IT_Department'" --action RT::Action::RecordComment --template 'Fields Reminder'
Any help on this would really help.
Andy Werner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.bestpractical.com/pipermail/rt-devel/attachments/20080422/4dc04542/attachment.htm
More information about the Rt-devel
mailing list