mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-11-02 13:28:32 +08:00
33 lines
747 B
Python
33 lines
747 B
Python
"""
|
|
插件可使用的窄调度服务门面。
|
|
"""
|
|
|
|
from app.application.scheduling import (
|
|
add_plugin_once_job,
|
|
get_agent_task_next_run,
|
|
list_scheduler_jobs,
|
|
remove_agent_task_job,
|
|
remove_plugin_job,
|
|
remove_plugin_once_job,
|
|
start_agent_task,
|
|
start_scheduler_job,
|
|
update_agent_task_job,
|
|
update_plugin_job,
|
|
)
|
|
from app.schemas.dashboard import ScheduleInfo, ScheduleProgress
|
|
|
|
__all__ = [
|
|
"ScheduleInfo",
|
|
"ScheduleProgress",
|
|
"add_plugin_once_job",
|
|
"get_agent_task_next_run",
|
|
"list_scheduler_jobs",
|
|
"remove_agent_task_job",
|
|
"remove_plugin_job",
|
|
"remove_plugin_once_job",
|
|
"start_agent_task",
|
|
"start_scheduler_job",
|
|
"update_agent_task_job",
|
|
"update_plugin_job",
|
|
]
|