mirror of
https://github.com/Xtao-Labs/twitter2telegram.git
synced 2024-11-25 01:29:44 +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()
|