Home | Trees | Indices | Help |
|
---|
|
object --+ | Queue
A cron-job queue.
This is really a heap sorted by the time the job is next supposed to run.
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Properties | |
Inherited from |
Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
schedules callable to be run every seconds. name must be a unique identifier for the "job". jobs with identical names overwrite each other. callable will be run in the main thread, so it must finish quickly or it will block the server. |
schedules callable to be run every day at times. times is a list of (day-of-month, day-of-week, hour, minute) tuples. day-of-month and/or day-of-week are 1-based and may be None (if both are non-none, day-of-week wins). name must be a unique identifier for the "job". jobs with identical names overwrite each other. callable will be run in the main thread, so it must finish quickly or it will block the server. |
returns a sequence of (startDateTime local, job name) pairs. This is for inspection/debug purposes. |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu May 2 07:29:09 2019 | http://epydoc.sourceforge.net |