Job: + whenStarted, whenFinished callbacks, now with additional job argument; let Scheduler.schedule() return the real startTime (may be used as jobId)
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@1916 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
8469575076
commit
ea8ea93528
1 changed files with 1 additions and 0 deletions
|
@ -128,6 +128,7 @@ Configuration (per job)
|
||||||
How does this work?
|
How does this work?
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
|
>>> from time import time
|
||||||
>>> from loops.agent.schedule import Job
|
>>> from loops.agent.schedule import Job
|
||||||
>>> class TestJob(Job):
|
>>> class TestJob(Job):
|
||||||
... def execute(self):
|
... def execute(self):
|
||||||
|
|
Loading…
Add table
Reference in a new issue