[rt-users] How to periodically mail out last ticket correspondence

Tomas Valenta valenta at trustica.cz
Tue Jan 29 14:48:13 EST 2008


I figured it out with rt-crontool on RT 3.6.3:

rt-crontool --search RT::Search::FromSQL --search-arg "(Status='stalled')" --action RT::Action::Notify --action-arg Requestor --template-id 15 --transaction last --transaction-type Correspond

The real trouble was with rights in RT - the user in rt which is linked to system user running the cron job must have the rights to read templates, tickets and all correpondence of ticket. If he has not, no error message is given and the action will just not occur. I had to do some serious digging into the code to figure out what's wrong. Hope this will help other users to save time.

-- 
Tomáš Valenta



More information about the rt-users mailing list