<div dir="ltr">Hi All,<div><br></div><div>I am trying to find out all tickets that are due in 48 hours and notify through email.</div><div><br></div><div>I am using this in cronjob which runs hourly.</div><div><br></div><div>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 '<a href="mailto:asif@example.net">asif@example.net</a>'  --transaction last --transaction-type comment<br clear="all"><div><br></div><div><br></div><div>Does this look kosher. I cannot tell if my Due settings is correct.</div><div><br></div><div>I have read these two articles and still not sure if I am doing it right.</div><div><br></div><div><a href="http://bestpractical.com/docs/rt/latest/automating_rt">http://bestpractical.com/docs/rt/latest/automating_rt</a><br></div><div><a href="http://requesttracker.wikia.com/wiki/TimedNotifications">http://requesttracker.wikia.com/wiki/TimedNotifications</a><br></div><div><br></div><div>Do I have to use template?</div><div><br></div><div>Thanks</div><div><br></div>-- <br>Asif Iqbal<br>PGP Key: 0xE62693C5 KeyServer: <a href="http://pgp.mit.edu">pgp.mit.edu</a><br>A: Because it messes up the order in which people normally read text.<br>Q: Why is top-posting such a bad thing?<br><br>
</div></div>