mirror of
https://github.com/Xtao-Labs/twitter2telegram.git
synced 2024-11-24 09:15:49 +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()
|