0

I would like to launch a background schedule job to run daily once along with application start(app.run())

Could someone help

Nick Juelich
  • 428
  • 2
  • 13
  • 1
    We need more specifics about your program and your intentions. – Nick Juelich Jun 17 '20 at 13:18
  • From my python Flask application, i would like to schedule a background Job that runs daily once at a specific time to sync few set of data from another server. I am planning to use schedule library for to schedule the data sync job. I was thinking to launch the schedule along with application start up itself. Please suggest better way of doing this – Jyothi Abraham Jun 17 '20 at 19:59
  • @JyothiAbraham Use `BackgroundScheduler` of [APScheduler](https://apscheduler.readthedocs.io/en/stable/modules/schedulers/background.html#apscheduler.schedulers.background.BackgroundScheduler), for implementation with Flask this answer will help: https://stackoverflow.com/a/52068807/8840245 – Mrinal Roy Jul 08 '20 at 07:13

0 Answers0