An event that concerns the scheduler itself.
Variables: |
|
---|
Bases: apscheduler.events.SchedulerEvent
An event that concerns a job.
Variables: |
|
---|
Bases: apscheduler.events.JobEvent
An event that concerns the execution of individual jobs.
Variables: |
|
---|
The following event codes are numeric constants importable from apscheduler.events.
Constant | Description | Event class |
---|---|---|
EVENT_SCHEDULER_START | The scheduler was started | SchedulerEvent |
EVENT_SCHEDULER_SHUTDOWN | The scheduler was shut down | SchedulerEvent |
EVENT_EXECUTOR_ADDED | An executor was added to the scheduler | SchedulerEvent |
EVENT_EXECUTOR_REMOVED | An executor was added to the scheduler | SchedulerEvent |
EVENT_JOBSTORE_ADDED | A job store was added to the scheduler | SchedulerEvent |
EVENT_JOBSTORE_REMOVED | A job store was removed from the scheduler | SchedulerEvent |
EVENT_ALL_JOBS_REMOVED | All jobs were removed from either all job stores or one particular job store | SchedulerEvent |
EVENT_JOB_ADDED | A job was added to a job store | JobEvent |
EVENT_JOB_REMOVED | A job was removed from a job store | JobEvent |
EVENT_JOB_MODIFIED | A job was modified from outside the scheduler | JobEvent |
EVENT_JOB_EXECUTED | A job was executed successfully | JobExecutionEvent |
EVENT_JOB_ERROR | A job raised an exception during execution | JobExecutionEvent |
EVENT_JOB_MISSED | A job’s execution was missed | JobExecutionEvent |
EVENT_ALL | A catch-all mask that includes every event type | N/A |