Changes between Version 14 and Version 15 of DailyReminderScriptForTracScript


Ignore:
Timestamp:
Mar 7, 2022, 7:46:03 AM (2 years ago)
Author:
figaro
Comment:

Cosmetic changes

Legend:

Unmodified
Added
Removed
Modified
  • DailyReminderScriptForTracScript

    v14 v15  
    1515And of course you'll need Python 2.6 as well.
    1616
    17 It is tested on Trac 0.11 and 0.12 with PostgreSQL 3.10 and Python 2.6 on a Gentoo box.
     17It is tested on Trac 0.11 and 0.12 with PostgreSQL 3.10 and Python 2.6 running Linux Gentoo.
    1818
    1919Feel free to adopt it to your needs, please test it, use it!
    2020
    21 '''Note:''' Change line 103 when 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:
    2222{{{#!python
    2323detail = detail + "  created at " + str(time.strftime('%Y. %B %d. (%A) %H:%M:%S', time.gmtime(int(tkt[0]/1000000))))
     
    2828=== Example
    2929
    30 One should put in a cronjob '''/etc/cron.d/trac_remind.cron''':
     30Place the following in a cronjob '''/etc/cron.d/trac_remind.cron''':
    3131{{{#!sh
    32320 0 * * mon-fri root /path/to/this/script/trac_reminder_report.py
    3333}}}
    3434
    35 Don't forget to put 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.
     35Place 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.
    3636
    3737== Bugs/Feature Requests