from apscheduler.schedulers.asyncio import AsyncIOScheduler
aps = AsyncIOScheduler()
@aps.scheduled_job(video_to_pic, 'interval', minutes=1)
def video_to_pic():
print('oooo')
from apscheduler.schedulers.asyncio import AsyncIOScheduler
aps = AsyncIOScheduler()
@aps.scheduled_job(video_to_pic, 'interval', minutes=1)
def video_to_pic():
print('oooo')
本文标题:python3 定时器
本文链接:https://www.haomeiwen.com/subject/tfgfgqtx.html
网友评论