I would change the ">" to ">=" so that no time period is skipped.
I believe the email content comes from a template, so a template is required. On 13/09/2014 1:36 am, "Asif Iqbal" <vad...@gmail.com> wrote: > 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 ' > a...@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? > > > -- > RT Training - Boston, September 9-10 > http://bestpractical.com/training >
-- RT Training - Boston, September 9-10 http://bestpractical.com/training