Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #963 (closed enhancement: invalid)

Opened 11 years ago

Last modified 10 years ago

job scheduler

Reported by: tjw3000@… Owned by: anonymous
Priority: normal Milestone:
Component: TurboGears Version: 0.9a5
Severity: normal Keywords:
Cc:

Description

I like the look of your framework. I have an idea for a feature. Example. If I wrote a wiki in TurboGears, it would be nice to write a little TurboGears module that I could schedule (for every day at 6:00 a.m. for example) to run in the background and delete explitives.

Basically the idea is to have an entry point within TurboGears to be able to schedule jobs to occur at regular intervals.

# something like class Job(TurboJob?):

def init(self): def nextRuntime():

JobUtil?.nextBusinessDayAt('6:00 a.m.')

def job():

print 'I do this every business day at 6:00 a.m.'

Change History

comment:1 Changed 11 years ago by Joost

  • Status changed from new to closed
  • Resolution set to invalid

Actually, TurboGears already has this feature ;) . Checkout  http://www.turbogears.org/preview/docs/scheduler.html

Note: See TracTickets for help on using tickets.