1234567891011121314151617181920 |
- import time
- import schedule
- from common import Material
- from video_rewriting.video_prep import getVideo
- def video_start():
- print("开始执行")
- getVideo.video_task() # 假设这是一个异步函数
- print("执行完成")
- video_start()
- # schedule.every().day.at("01:00").do(video_start)
- #
- # while True:
- # schedule.run_pending()
- # time.sleep(1)
|