mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 00:50:36 +08:00
14 lines
362 B
Python
14 lines
362 B
Python
"""Background services contributed by this installed module."""
|
|
|
|
|
|
async def start_cron(application_container) -> None:
|
|
from deeptutor.services.cron import get_cron_service
|
|
|
|
await get_cron_service().start()
|
|
|
|
|
|
async def stop_cron(application_container) -> None:
|
|
from deeptutor.services.cron import get_cron_service
|
|
|
|
await get_cron_service().stop()
|