wiki:TracCronPlugin

Version 2 (modified by tbressure, 4 years ago) (diff)

--

Trac Cron Plugin

Description

This plugin add a scheduler inside Trac process that can handle any sort of task writing in python language. The plugin provide and administration panel to help scheduling.

Bugs/Feature Requests

Existing bugs and feature requests for TracCronPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from here.

Source

You can check out TracCronPlugin from here using Subversion, or browse the source with Trac.

Example

My 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 modified 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.

So 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.

Simply 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.

Recent Changes

[12591] by t2y on 2013-02-04 09:50:52
added TracCronPlugin-0.2 version
[12590] by t2y on 2013-02-04 09:50:25
added TracCronPlugin-0.1 version
[12584] by t2y on 2013-02-01 14:49:13
added t2y as a maintainer

Author/Contributors

Author: tbressure
Maintainer: tbressure
Contributors:

Attachments (2)

Download all attachments as: .zip