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

Alex Peters alex at peters.net
Mon Sep 15 21:02:02 EDT 2014


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" <vadud3 at 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 '
> 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?
>
>
> --
> RT Training - Boston, September 9-10
> http://bestpractical.com/training
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140916/03d8d486/attachment.htm>


More information about the rt-users mailing list