apscheduler.jobstores.memory

API

class apscheduler.jobstores.memory.MemoryJobStore

Bases: apscheduler.jobstores.base.BaseJobStore

Stores jobs in an array in RAM. Provides no persistence support.

Plugin alias: memory

Introduction

MemoryJobStore stores jobs in memory as-is, without serializing them. This allows you to schedule callables that are unreachable globally and use job non-serializable job arguments.

External dependencies none
Example examples/schedulers/blocking.py (view online).

Caution

Unlike with other job stores, changes made to any mutable job arguments persist across job invocations. You can use this to your advantage, however.