from apscheduler.schedulers.background import BackgroundScheduler
from . import cron

scheduler = BackgroundScheduler()
scheduler.start()


def start():
    global scheduler
    # scheduler.add_job(cron.startit, 'interval', seconds=3)
    # scheduler.add_job(cron.startit, 'interval', hours=23)
    scheduler.add_job(cron.updateit, 'interval', seconds=50)

5fdfd6783f1c0c2285bcc2219cfadb76f1d8b8af
<mask token>


def start():
    global scheduler
    scheduler.add_job(cron.updateit, 'interval', seconds=50)

<mask token>
scheduler.start()


def start():
    global scheduler
    scheduler.add_job(cron.updateit, 'interval', seconds=50)

<mask token>
scheduler = BackgroundScheduler()
scheduler.start()


def start():
    global scheduler
    scheduler.add_job(cron.updateit, 'interval', seconds=50)

from apscheduler.schedulers.background import BackgroundScheduler
from . import cron
scheduler = BackgroundScheduler()
scheduler.start()


def start():
    global scheduler
    scheduler.add_job(cron.updateit, 'interval', seconds=50)

from apscheduler.schedulers.background import BackgroundScheduler
from . import cron

scheduler = BackgroundScheduler()
scheduler.start()


def start():
    global scheduler
    # scheduler.add_job(cron.startit, 'interval', seconds=3)
    # scheduler.add_job(cron.startit, 'interval', hours=23)
    scheduler.add_job(cron.updateit, 'interval', seconds=50)
