How to make apscheduler not double execute? [duplicate]

Solution
app.run(use_reloader=False)