python定时任务框架包Advanced Python Scheduler

2022-03-11 00:00:00 python 框架 定时
from apscheduler.scheduler import Scheduler
sched = Scheduler()
@sched.interval_schedule(hours=3)
def some_job():
    print("Decorated job")
sched.configure(options_from_ini_file)
sched.start()

相关文章