[rt-users] Notify about tickets that are Due in 48 hours

Asif Iqbal vadud3 at gmail.com
Fri Sep 12 11:35:28 EDT 2014


Hi All,

I am trying to find out all tickets that are due in 48 hours and notify
through email.

I am using this in cronjob which runs hourly.

rt-crontool --search RT::Search::FromSQL --search-arg "( Status !=
'resolved' AND Status != 'rejected' ) AND ( Due > '+48 hours' AND Due <
'+49 hours')"  --action RT::Action::NotifyGroup  --action-arg '
asif at example.net'  --transaction last --transaction-type comment


Does this look kosher. I cannot tell if my Due settings is correct.

I have read these two articles and still not sure if I am doing it right.

http://bestpractical.com/docs/rt/latest/automating_rt
http://requesttracker.wikia.com/wiki/TimedNotifications

Do I have to use template?

Thanks

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140912/ec161c75/attachment.htm>


More information about the rt-users mailing list