Changes between Version 4 and Version 5 of TracSchedulerPlugin
- Timestamp:
- Jul 28, 2015, 8:15:07 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracSchedulerPlugin
v4 v5 1 = Scheduled tasks manager = 2 [[TOC]] 3 SEE:'''ZoomQuiet''' ~ Collection KSPEG Trac hacking 1 [[PageOutline(2-5,Contents,pullout)]] 4 2 5 == Description == 3 = Scheduled tasks manager 4 5 == Description 6 6 7 7 This plugin provides an extension point for trac plugin developers to manager their scheduled tasks. It polls register plugins, and run matched tasks like '''crontab''' in linux/unix. … … 10 10 * support crontab format 11 11 12 == Bugs/Feature Requests == 12 See:'''ZoomQuiet''' ~ Collection KSPEG Trac hacking 13 14 == Bugs/Feature Requests 13 15 14 16 Existing bugs and feature requests for TracSchedulerPlugin are … … 16 18 17 19 If you have any issues, create a 18 [ http://trac-hacks.org/newticket?component=TracSchedulerPlugin&owner=richardnew ticket].20 [/newticket?component=TracSchedulerPlugin new ticket]. 19 21 20 == Download == 22 [[TicketQuery(component=TracSchedulerPlugin&group=type,format=progress)]] 23 24 == Download 21 25 22 26 Download the zipped source from [download:tracschedulerplugin here]. 23 27 24 == Source ==28 == Source 25 29 26 30 You can check out TracSchedulerPlugin from [http://trac-hacks.org/svn/tracschedulerplugin here] using Subversion, or [source:tracschedulerplugin browse the source] with Trac. 27 31 28 == Install == 29 You can install this software as normal Trac plugin. 32 == Installation 30 33 31 1. Uninstall Trac Scheduler if you have installed before.34 You can install this software as normal Trac plugin. 32 35 33 2. Change to the directory containning setup.py.34 35 3. If you want to install this plugin globally, that will install this plugin to the python path:36 1. Uninstall Trac Scheduler if you have installed it before. 37 1. Change to the directory containing setup.py. 38 1. If you want to install this plugin globally, install this plugin to the Python path: 36 39 * python setup.py install 37 38 4. If you want to install this plugin to trac instance only: 40 1. If you want to install this plugin to one Trac instance only: 39 41 * python setup.py bdist_egg 40 * copy the generated egg file to the trac instance's plugin directory41 {{{42 * copy the generated egg file to the trac instance's plugins directory 43 {{{#!sh 42 44 cp dist/*.egg /srv/trac/env/plugins 43 45 }}} 44 45 5. Config trac.ini: 46 {{{ 46 1. Configure your `trac.ini` file: 47 {{{#!ini 47 48 [components] 48 49 tracscheduler.* = enabled … … 55 56 }}} 56 57 57 == Example ==58 == Example 58 59 59 This following plugin will logging the latest 2 ticket ids every 1 minute.60 This set up will log the latest 2 ticket ids every minute: 60 61 61 {{{ 62 {{{#!python 62 63 from tracscheduler.web_ui import IScheduledTask 63 64 … … 72 73 }}} 73 74 74 == Recent Changes ==75 == Recent Changes 75 76 76 77 [[ChangeLog(tracschedulerplugin, 3)]] 77 78 78 == Author/Contributors ==79 == Author/Contributors 79 80 80 81 '''Author:''' [wiki:richard] [[BR]] 82 '''Maintainer:''' [[Maintainer]] [[BR]] 81 83 '''Contributors:'''