Version 2 (modified by 13 years ago) (diff) | ,
---|
Contents
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 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 [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
Author/Contributors
Attachments (2)
-
tcp_admin_panel.png (77.7 KB) - added by 13 years ago.
Administration panel of Trac Cron Plugin
-
ticket-with-duedate.png (18.2 KB) - added by 11 years ago.
Ticket with due date
Download all attachments as: .zip