使用 Python 的 schedule 模块,每月执行一次的示例代码如下:
import schedule
import time
def job():
print("Job is running!")
schedule.every().day.at("12:00").do(job)
while True:
schedule.run_pending()
time.sleep(1)
发布者:admin,转转请注明出处:http://www.yc00.com/web/1755002051a5225601.html
评论列表(0条)