mirror of
https://github.com/Xtao-Labs/twitter2telegram.git
synced 2024-11-24 17:19:42 +00:00
6 lines
164 B
Python
6 lines
164 B
Python
from apscheduler.schedulers.asyncio import AsyncIOScheduler
|
|
|
|
scheduler = AsyncIOScheduler(timezone="Asia/ShangHai")
|
|
if not scheduler.running:
|
|
scheduler.start()
|