apscheduler question, or bug.
Posted by jsupun@reddit | Python | View on Reddit | 1 comments
I'm trying to debug a problem in someone else's code. Before I take over our QAs persons EC2 instance and turn it into a development machine, figured I'd ask here first.
We are having a problem where a newly added job does not executed, but is removed without any log message on why.
2024-11-21 15:47:37,062 7 apscheduler.scheduler INFO: Added job "rotate" to job store "default"
2024-11-21 15:47:37,063 7 apscheduler.scheduler DEBUG: Looking for jobs to run
2024-11-21 15:47:37,063 7 apscheduler.executors.PROCESS DEBUG: Submitting job to process pool: rotate (trigger: date[2024-11-21 15:47:37 UTC], next run at: 2024-11-21 15:47:37 UTC)
2024-11-21 15:47:37,069 7 apscheduler.scheduler INFO: Removed job z9QY2/z8drVNbPezDztABA==
2024-11-21 15:47:37,070 7 apscheduler.scheduler DEBUG: No jobs; waiting until a job is added
Most of the time we don't have problems. However , we the QA person is hitting this constantly. I was curious if it was a time based problem. When add_job() is called, the param misfire_grace_time
is None
.
Is there anything I should check or can enable to tell me what is happening?
Thanks.
Python-ModTeam@reddit
Hi there, from the /r/Python mods.
We have removed this post as it is not suited to the /r/Python subreddit proper, however it should be very appropriate for our sister subreddit /r/LearnPython or for the r/Python discord: https://discord.gg/python.
The reason for the removal is that /r/Python is dedicated to discussion of Python news, projects, uses and debates. It is not designed to act as Q&A or FAQ board. The regular community is not a fan of "how do I..." questions, so you will not get the best responses over here.
On /r/LearnPython the community and the r/Python discord are actively expecting questions and are looking to help. You can expect far more understanding, encouraging and insightful responses over there. No matter what level of question you have, if you are looking for help with Python, you should get good answers. Make sure to check out the rules for both places.
Warm regards, and best of luck with your Pythoneering!