[rt-users] Notify about tickets that are Due in 48 hours
Asif Iqbal
vadud3 at gmail.com
Fri Sep 12 11:36:45 EDT 2014
On Fri, Sep 12, 2014 at 11:35 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
>
>
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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20140912/9fa15c12/attachment.htm>
More information about the rt-users
mailing list