wiki:TracCronPlugin

Version 3 (modified by anonymous, 13 years ago) (diff)

--

Trac Cron Plugin

Notice: This plugin is unmaintained and available for adoption.

Description

This plugin add a scheduler inside Trac process that can handle any sort of task writing in python language. The plugin provide an 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 [download:traccronplugin 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

17943 by rjollos on 2020-12-23 23:45:57
Drop latest code from PyPI
15468 by rjollos on 2016-04-14 00:01:45
Remove tag_svn_revision attribute

The attribute isn't supported in setuptools >= 10

12591 by t2y on 2013-02-04 08:50:52
added TracCronPlugin-0.2 version
(more)

Author/Contributors

Author: tbressure
Maintainer: tbressure
Contributors:

Attachments (2)

Download all attachments as: .zip