jneilliii / OctoPrint-PrintScheduler

MIT License
10 stars 2 forks source link

Scheduled print starting although is was deleted #33

Closed remcoder closed 2 years ago

remcoder commented 2 years ago

First of all, I want to thank you for this plugin (and your other plugins)!! It's amazing how much and I am very grateful for all time and effort you've put into this ;-)

Today I ran into a very weird situation, basically boiling down to the fact that a scheduled print started although I had already deleted the scheduled job.

Here are the steps:

I think 2 things happened:

octoprint.log

I'll try to investigate some more and update this issue with any findings.

jneilliii commented 2 years ago

The timezones is more than likely the issue for the time problem. SSH to the pi and use sudo raspi-config localization options to adjust appropriately. For the second one I'm not actually sure I debugged/tested removing a scheduled job but I'm fairly confident I did. Curious if the timezone setting being off could potentially break the removal logic in the plugin. Let's fixed that first and see if it fixes the other.

remcoder commented 2 years ago

Thanks for the suggestion. I updated my timezone and now the Octoprint logs are in sync with my local time. And like you suspected the issue didn't occur anymore even though I tried to reproduce the exact scenario.

I guess I didn't reboot the pi the first time I changed the timezone which left Octoprint with the old timezone setting.