22 | | == Bugs/Feature Requests |
23 | | |
24 | | Existing bugs and feature requests for TracCronPlugin are |
25 | | [report:9?COMPONENT=TracCronPlugin here]. |
26 | | |
27 | | If you have any issues, create a |
28 | | [/newticket?component=TracCronPlugin new ticket]. |
29 | | |
30 | | [[TicketQuery(component=TracCronPlugin,group=type,format=progress)]] |
31 | | |
32 | | == Download |
33 | | |
34 | | Current stable release is '''0.3.1'''. |
35 | | |
36 | | You can use `easy_install` or `pip` to download and install the latest package into your Python environment: |
37 | | {{{#!sh |
38 | | easy_install TracCronPlugin |
39 | | }}} |
40 | | |
41 | | or: |
42 | | {{{#!sh |
43 | | pip install TracCronPlugin |
44 | | }}} |
45 | | |
46 | | Alternatively, download the [pypi:TracCronPlugin distribution files] from PyPI for installation from source only. |
47 | | |
48 | | == Source |
49 | | |
50 | | You can browse the source or clone TracCronPlugin from [https://bitbucket.org/t2y/trac.plugins.traccron BitBucket] using Mercurial. |
51 | | Originally, TracCronPlugin source is hosted in [/svn/traccronplugin trac-hacks.org svn], but is no longer maintained there. |
52 | | |
53 | | == Example |
54 | | |
55 | | Simply create in a module (.py) a class that implements the ICronTask and put it in the plugins directory. Then you can either modify the trac.ini file or use the Trac cron admin panel. |
| 22 | To add a task to the scheduler simply create in a module (.py) a class that implements the ICronTask and put it in the `plugins` directory. Then you can either modify your `trac.ini` file or use the Trac cron admin panel. |
| 86 | Other examples of how to implement recurring tasks are given below. |
| 87 | |
| 88 | == Bugs/Feature Requests |
| 89 | |
| 90 | Existing bugs and feature requests for TracCronPlugin are |
| 91 | [report:9?COMPONENT=TracCronPlugin here]. |
| 92 | |
| 93 | If you have any issues, create a |
| 94 | [/newticket?component=TracCronPlugin new ticket]. |
| 95 | |
| 96 | [[TicketQuery(component=TracCronPlugin,group=type,format=progress)]] |
| 97 | |
| 98 | == Download |
| 99 | |
| 100 | Download the zipped source from [export:traccronplugin here], however the latest stable version is maintained at [https://bitbucket.org/t2y/trac.plugins.traccron BitBucket]. |
| 101 | Current stable release is '''0.3.1'''. |
| 102 | |
| 103 | == Source |
| 104 | |
| 105 | You can browse the source or clone TracCronPlugin from [https://bitbucket.org/t2y/trac.plugins.traccron BitBucket] using Mercurial. |
| 106 | Originally, TracCronPlugin source is hosted in [/svn/traccronplugin trac-hacks.org svn], but is no longer maintained there. |
| 107 | |
| 108 | == Installation |
| 109 | |
| 110 | You can use `easy_install` or `pip` to download and install the latest package into your Python environment: |
| 111 | {{{#!sh |
| 112 | $ easy_install TracCronPlugin |
| 113 | }}} |
| 114 | |
| 115 | or: |
| 116 | {{{#!sh |
| 117 | $ pip install TracCronPlugin |
| 118 | }}} |
| 119 | |
| 120 | Alternatively, download the [pypi:TracCronPlugin distribution files] from PyPI for installation from source only. |
| 121 | |