from apscheduler.schedulers.asyncio import AsyncIOScheduler
from apscheduler.schedulers.background import BackgroundScheduler


# sched = BlockingScheduler()
asd = AsyncIOScheduler()
bgs = BackgroundScheduler()


@bgs.scheduled_job('interval', seconds=3)
def timed_job():
    print('This job is run every three minutes.')


# @sched.scheduled_job('cron', day_of_week='mon-fri', hour=17)
# def scheduled_job():
#     print('This job is run every weekday at 5pm.')

print("starting")
bgs.start()




