Changes between Version 14 and Version 15 of DailyReminderScriptForTracScript
- Timestamp:
- Mar 7, 2022, 7:46:03 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DailyReminderScriptForTracScript
v14 v15 15 15 And of course you'll need Python 2.6 as well. 16 16 17 It is tested on Trac 0.11 and 0.12 with PostgreSQL 3.10 and Python 2.6 on a Gentoo box.17 It is tested on Trac 0.11 and 0.12 with PostgreSQL 3.10 and Python 2.6 running Linux Gentoo. 18 18 19 19 Feel free to adopt it to your needs, please test it, use it! 20 20 21 '''Note:''' Change line 103when upgrading from Trac 0.11.x to Trac 0.12.x due to database changes:21 '''Note:''' Change [https://trac-hacks.org/browser/dailyreminderscriptfortracscript/trac_reminder_report.py#L141 line 141] when upgrading from Trac 0.11.x to Trac 0.12.x due to database changes: 22 22 {{{#!python 23 23 detail = detail + " created at " + str(time.strftime('%Y. %B %d. (%A) %H:%M:%S', time.gmtime(int(tkt[0]/1000000)))) … … 28 28 === Example 29 29 30 One should putin a cronjob '''/etc/cron.d/trac_remind.cron''':30 Place the following in a cronjob '''/etc/cron.d/trac_remind.cron''': 31 31 {{{#!sh 32 32 0 0 * * mon-fri root /path/to/this/script/trac_reminder_report.py 33 33 }}} 34 34 35 Don't forget to puta `MAILTO=your.address@your.domain.tld` into the cron file, the script prints out the recipient names where the mails had been sent to.35 Place a `MAILTO=your.address@your.domain.tld` into the cron file, the script prints out the recipient names where the mails had been sent to. 36 36 37 37 == Bugs/Feature Requests