mirror of
https://github.com/Xtao-Labs/twitter2telegram.git
synced 2024-11-27 18:41:17 +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()
|