Open kimdre opened 2 weeks ago
I just ran into the opposite problem, which may be related. I have:
schedule.every().tuesday.at('10:30', 'America/Los_Angeles').do(...)
This has run correctly for several months until this morning, when at 10:30 am Pacific time it started running every single second. I have some debugging code in the process, so I could trigger a dump of the job list and the scheduler's next_run
and idle_seconds
For this job, repr(job)
was:
Every 1 week at 10:30:00 do handler() (last run: 2024-10-29 17:37:18, next run: 2024-10-29 17:30:00)
For the scheduler I had:
idle_seconds: -439.449066
next_run: 2024-10-29T17:30:00
Restarting the process did not fix the problem: last_run
started as None
but then started running every 1s again and I needed to remove the job from my schedule while I diagnose further.
I'm running from commit 1173f2820b6e996fd80c51e61353a31a4c260b3b. I'll try 1.2.2 to see if the fixes from #623 will improve the situation.
edit: 1.2.2 fixed the issue
Tonight my scheduler app stopped running right after the time was set back by one hour. Did anyone experience something similiar? Unfortunately there were no errors/exceptions in the logs, this is the only information I can provide:
My main:
My scheduler: