apscheduler.schedulers.twisted

API

class apscheduler.schedulers.twisted.TwistedScheduler(gconfig={}, **options)

Bases: apscheduler.schedulers.base.BaseScheduler

A scheduler that runs on a Twisted reactor.

Extra options:

reactor

Reactor instance to use (defaults to the global reactor)

Introduction

TwistedScheduler was meant to be used in Twisted applications. By default it uses the reactor’s thread pool to execute jobs.

Default executor

TwistedExecutor

External dependencies

twisted

Example

examples/schedulers/twisted_.py (view online).