def schedule_match():
try:
schedule.every(30).seconds.do(refresh_Scorecard).tag('score_updates', 'task')
while 1:
schedule.run_pending()
time.sleep(1)
except KeyboardInterrupt:
quit()
# method used to cancel the schedule match
评论列表
文章目录