Open CAReeser opened 2 years ago
BTW, this is a great program. Simple to implement and very useful.
Interesting, I have been having a similar issue that I've seemed to narrow down to this as well, although mine is set to every 5 minutes
I do schedule.every().minute.do(updateObservingConditionsCSV) since i started using schedule, so yes - this works.
Were you able to find the problem? If not, is there an error when the crash happens?
For future reference, schedule.every()
is exactly the same as schedule.every(1)
. The default param is 1:
I was having similar issues and it ended up being a memory leak issue. I was able to correct it by ether forcing garbage collection or by call del
Is it OK to use this format? schedule.every().minute.do(updateObservingConditionsCSV)
rather than:
schedule.every(1).minutes.do(updateObservingConditionsCSV)
If not ok, might want to update the docs. I have the thread crashing after 45 minutes and I am trying to localize the issue.
`