apscheduler.schedulers.gevent

API

class apscheduler.schedulers.gevent.GeventScheduler(gconfig={}, **options)

Bases: apscheduler.schedulers.blocking.BlockingScheduler

A scheduler that runs as a Gevent greenlet.

Introduction

GeventScheduler was meant to be used with applications that use gevent. GeventScheduler uses gevent natively, so it doesn’t require monkey patching. By default it executes jobs as greenlets.

Default executor GeventExecutor
External dependencies gevent
Example examples/schedulers/gevent_.py (view online).

Tip

Until there is an official Python 3 compatible release of gevent, you can use an unofficial port.