#963: job scheduler
-------------------------------+--------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: TurboGears | Version: 0.9a5
Severity: normal | Keywords:
-------------------------------+--------------------------------------------
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.'
--
Ticket URL: <http://trac.turbogears.org/turbogears/ticket/963>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets
-~----------~----~----~----~------~----~------~--~---