mirror of
https://github.com/Xtao-Labs/twitter2telegram.git
synced 2024-11-21 22:58:08 +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()
|