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.