Changes between Initial Version and Version 1 of TracCronPlugin


Ignore:
Timestamp:
Oct 14, 2010, 6:37:12 PM (14 years ago)
Author:
Thierry Bressure
Comment:

New hack TracCronPlugin, created by tbressure

Legend:

Unmodified
Added
Removed
Modified
  • TracCronPlugin

    v1 v1  
     1[[PageOutline(2-5,Contents,pullout)]]
     2
     3= Trac Cron Plugin =
     4
     5== Description ==
     6
     7This plugin add a scheduler inside Trac process that can handle any sort
     8of task writing in python language. The plugin provide and administration panel to help scheduling.
     9
     10== Bugs/Feature Requests ==
     11
     12Existing bugs and feature requests for TracCronPlugin are
     13[report:9?COMPONENT=TracCronPlugin here].
     14
     15If you have any issues, create a
     16[http://trac-hacks.org/newticket?component=TracCronPlugin&owner=tbressure new ticket].
     17
     18== Download ==
     19
     20Download the zipped source from [download:traccronplugin here].
     21
     22== Source ==
     23
     24You can check out TracCronPlugin from [http://trac-hacks.org/svn/traccronplugin here] using Subversion, or [source:traccronplugin browse the source] with Trac.
     25
     26== Example ==
     27
     28My company need to synchronize trac user with an external source of account. The job was made by an ETL but fine tuning of trac user was still done by a our modidied version of Trac by clicking on a button on the admin panel that call a well designed API. So instead of manually clik on the button i searched a way to automate it. Unfortunately, i did not find any plugin for this and even if i could use a unix cron task or an windows AT command  to plane the task, i thought it would be better done inside Trac process.
     29
     30So if you have any function for entry point of a process (i mean trac related process) and you want to plane it as a job, Trac Cron Plugin is for you.
     31
     32Simply create in a module (.py) a class that implement the ICronTask and put it inside plugins directory. Then you can either trick the trac.ini but comfortably use the dedicated admin panel.
     33
     34== Recent Changes ==
     35
     36[[ChangeLog(traccronplugin, 3)]]
     37
     38== Author/Contributors ==
     39
     40'''Author:''' [wiki:tbressure] [[BR]]
     41'''Maintainer:''' [wiki:tbressure] [[BR]]
     42'''Contributors:'''