On Fri, Sep 12, 2014 at 11:35 AM, Asif Iqbal <[email protected]> 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 '
> [email protected]'  --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
>
>

I am using rt 4.0.17 and  perl/5.14.2


-- 
> 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?
>
>


-- 
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

Reply via email to