Changes between Version 11 and Version 12 of DailyReminderScriptForTracScript
- Timestamp:
- Nov 9, 2015, 4:27:01 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DailyReminderScriptForTracScript
v11 v12 19 19 Feel free to adopt it to your needs, please test it, use it! 20 20 21 '''UPDATE:''' 22 One should change line 103 if upgrading from Trac 11.x to Trac 12.x due to database changes: 21 '''Note:''' Change line 103 when upgrading from Trac 11.x to Trac 12.x due to database changes: 23 22 {{{#!python 24 23 detail = detail + " created at " + str(time.strftime('%Y. %B %d. (%A) %H:%M:%S',time.gmtime(int(tkt[0]/1000000)))) 25 24 }}} 26 25 27 Please take care ofindentation! The Trac 12.x database converts every timestamp to a more accurate timestamp format, so a timestamp field must be divided by a million to work properly.26 Please note the indentation! The Trac 12.x database converts every timestamp to a more accurate timestamp format, so a timestamp field must be divided by a million to work properly. 28 27 29 28 See also: TracReminderScript, TicketRemindScript … … 41 40 == Download 42 41 43 Download the zipped source from [ download:dailyreminderscriptfortracscript here].42 Download the zipped source from [export:dailyreminderscriptfortracscript here]. 44 43 45 44 == Source 46 45 47 You can check out DailyReminderScriptForTracScript from [ http://trac-hacks.org/svn/dailyreminderscriptfortracscript here] using Subversion, or [source:dailyreminderscriptfortracscript browse the source] with Trac.46 You can check out DailyReminderScriptForTracScript from [/svn/dailyreminderscriptfortracscript here] using Subversion, or [source:dailyreminderscriptfortracscript browse the source] with Trac. 48 47 49 48 == Example … … 54 53 }}} 55 54 56 Don't forget to put a MAILTO=your.address@your.domain.tld into the cron file, the script prints out the recipients names where the mails had been sent.55 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. 57 56 58 57 == Recent Changes