[rt-users] Possible to stop rt-crontool from logging to ticket?

John Alberts John.Alberts at exlibrisgroup.com
Fri Feb 4 11:31:05 EST 2011


I have setup some cronjobs to use rt-crontool to email reminders to a
group email address about open tickets.  This works great, but every
time it sends an email, it logs it in the ticket history.  This makes
the ticket history quite messy.  Is there any way to tell rt-crontool
not to log to the ticket history, or possibly specify something in the
template I'm using?

 

Here's an example of one of the cronjobs I'm using:

0 3 * * * /opt/rt3/bin/rt-crontool --search RT::Search::FromSQL
--search-arg "Owner = 'nobody' AND Created < '2 days ago' AND Created >
'3 days ago' AND Status != 'resolved' AND Status != 'rejected' AND
Status != 'deleted'"  --action RT::Action::RecordComment --template
'Unowned tickets2'

 

Also, where can I get a list of supported actions for rt-crontool?  I
couldn't find any documentation for that.

 

Thanks

 

 

 

----------

John Alberts

Hosted Services Systems Administrator

Ex Libris (USA) Inc.
1350 E. Touhy Ave.  Suite 200 East
Des Plaines, IL 60018

 

Follow Ex Libris on Twitter: @exlibrisgroup
<http://twitter.com/ExLibrisGroup> 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110204/78f4f382/attachment.htm>


More information about the rt-users mailing list