-
Notifications
You must be signed in to change notification settings - Fork 703
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BackgroundScheduler is not working after few hours #515
Comments
I'm surprised this works at all, since there is nothing in this script to keep the background scheduler running and the script would just exit. You also seem to be using an unofficial job store which may also be a problem. |
If you can give me a script that reproduces the problem using an official job store, I can investigate the problem. |
@agronholm yes, I copied parts of the script. I found there is an issue with threads flag --enable-threads for uWSGI https://apscheduler.readthedocs.io/en/latest/faq.html. I am experimenting with https://gunicorn.org/, logs are coming properly. I will update the ticket accordingly. Thank you. |
has the problem been solved? i had the same problem, and the log didn't have anything error or exception |
It happens due to mysql server disconnection. were you able to check it? |
Closing as obsolete. |
I am using the django to build a reminders service
the current version of apscheduler=3.7.0
Issue: Scheduling and executing of jobs works fine for 10 hours of spinning the server. Post that we are able to add job but BackgroundScheduler is not able to execute the given function. I have enabled the logging but didn't find anything in logs
What could be the potential reason?
The text was updated successfully, but these errors were encountered: