apscheduler.schedulers.qt
- class apscheduler.schedulers.qt.QtScheduler(gconfig={}, **options)
Bases:
BaseScheduler
A scheduler that runs in a Qt event loop.
- shutdown(*args, **kwargs)
Shuts down the scheduler, along with its executors and job stores.
Does not interrupt any currently running jobs.
- Parameters:
wait (bool) –
True
to wait until all currently executing jobs have finished- Raises:
SchedulerNotRunningError – if the scheduler has not been started yet
- wakeup()
Notifies the scheduler that there may be jobs due for execution. Triggers
_process_jobs()
to be run in an implementation specific manner.
API
- class apscheduler.schedulers.qt.QtScheduler(gconfig={}, **options)
Bases:
BaseScheduler
A scheduler that runs in a Qt event loop.
- shutdown(*args, **kwargs)
Shuts down the scheduler, along with its executors and job stores.
Does not interrupt any currently running jobs.
- Parameters:
wait (bool) –
True
to wait until all currently executing jobs have finished- Raises:
SchedulerNotRunningError – if the scheduler has not been started yet
- wakeup()
Notifies the scheduler that there may be jobs due for execution. Triggers
_process_jobs()
to be run in an implementation specific manner.
Introduction
QtScheduler lets you integrate APScheduler with your PySide or PyQt application.
Default executor |
|
External dependencies |
PySide or PyQt |
Example |
|