import scheduleimport timedef Schedule(): print(1)def main(): schedule.every().seconds.do(Schedule) while True: schedule.run_pending() time.sleep(10)main()
posted on 2021-08-28 19:54 绿茵豪情 阅读(22) 评论(0) 编辑 收藏 举报
Powered by: 博客园 Copyright © 2024 绿茵豪情 Powered by .NET 9.0 on Kubernetes