定时任务
时间:2021-08-30 03:07:46
收藏:0
阅读:4
import schedule
import time
def Schedule():
print(1)
def main():
schedule.every().seconds.do(Schedule)
while True:
schedule.run_pending()
time.sleep(10)
main()
原文:https://www.cnblogs.com/lvyinhaoqing/p/15200998.html
评论(0)