标签:pre rom blog 调度 locking second interval tar log
from datetime import datetime from apscheduler.schedulers.blocking import BlockingScheduler def tick(): print(datetime.now()) if __name__ == ‘__main__‘: scheduler = BlockingScheduler() scheduler.add_job(tick, ‘interval‘, seconds=1.0000000) scheduler.start()
标签:pre rom blog 调度 locking second interval tar log
原文地址:http://www.cnblogs.com/verstin/p/6718111.html