Vinicius Chiele
Vinicius Chiele
Can you show me how you called `modify_job`?
That sounds good to me, I will add them later this week.
You cannot pass the `scheduler` object as an argument for your job because it is not serializable. Btw why are you doing that?
Hi, I think it is the same as https://github.com/viniciuschiele/flask-apscheduler/issues/139 How are you running your app? Is it locally? gunicorn?
I guess this code only works when the jobs are kept in memory, if you use a storage like sqlite/sqlalchemy it won't work.
It is `APScheduler` that runs the jobs and it doesn't allow me to add some sort of "middleware" to initialize a Flask context before calling the actual method. If you...
You need to create a new Flask context within your task like this: https://github.com/viniciuschiele/flask-apscheduler/blob/master/examples/flask_context.py#L22 You can also the the Flask app from the APScheduler object: ```python with apscheduler.app.app_context(); pass ```
This doesn't work because jobs can be stored in database and when you shutdown your app and start it again, the jobs would not come attached to `with_app_context`. I couldn't...
Can you show the jobs' configuration?
Sorry, I couldn't reproduce this issue.