from apscheduler.schedulers.background import BackgroundScheduler
def update():
pass
scheduler = BackgroundScheduler()
scheduler.add_job(update, 'interval', max_instances=10, seconds=10)
scheduler.start()
from apscheduler.schedulers.background import BackgroundScheduler
def update():
pass
scheduler = BackgroundScheduler()
scheduler.add_job(update, 'interval', max_instances=10, seconds=10)
scheduler.start()