On 24.07.2018 03:09, RjOllos wrote:
On Monday, July 23, 2018 at 6:04:21 PM UTC-7, duong trung wrote:
How to create an email notification when it expires *_due_close_* on
trac?
Help me pls!
Thanks you!
You'll need a trigger, so you could make a plugin with an
IAdminCommandProvider that exposes a trac-admin command which uses the
Trac API to run a database query and then sends the notification. The
trac-admin command could then be run from a cron job. Implementation
would be similar to PendingTicketPlugin:
https://trac-hacks.org/wiki/PendingTicketPlugin
There's also this plugin:
https://trac-hacks.org/wiki/TracCronPlugin#Ticketdeadlinetask
(I have not used it, and it is probably not compatible with versions of
Trac >1.0.)
--
Peter
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.