wiki:TicketRemindScript

Version 9 (modified by rjollos, 5 years ago) (diff)

Add pageoutline and maintainer

Yet another Trac tickets reminder script

Description

Send a text-only mail with a reminder for new and open tickets.

Bugs/Feature Requests

Existing bugs and feature requests for TicketRemindScript are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out TicketRemindScript from here using Subversion, or browse the source with the Unixmedia misc files Trac site.

Example

in your crontab:

00 00 * * * /path/to/tracremind.py -f /path/to/tracremind.conf -p all > /dev/null 2>&1

How to include Cc recipients

The smptlib.sendmail method delivers the message body (param 3) to only those recipients included in the To parameter (param 2) - so if you want the CC folks to get the email you need to also include them in param 2.

Eg:

 s.sendmail(mailmsg['From'], mailmsg['To'] + ',' + mailmsg['Cc'], mailmsg.as_string()) 

( thanks to "robyn" for the suggestion )

Recent Changes

[1885] by nextime on 2007-01-18 19:12:39
New hack TicketRemindScript, created by nextime

Author/Contributors

Author: nextime
Maintainer: nextime
Contributors: