Hi, I have set up a timer class in the project library. I define the class inside a function that is called on gateway startup. I also instantiate the class as masterTimer in the same function.The timer class has a function minuteCall that is called every minute, checks to see what needs to happen at that minute, and does it.
I do it this way because I know the class will get defined and in instantiated this way. If there is a better way to define/instantiate a class, that would be good to know.
This class instantiation seemingly randomly disappears. Everything will be going along fine, then suddenly masterTimer.minuteCall function can’t be found by the calling function. I check when this happens, and masterTimer class itself also can’t be found.
Everything else continues to work as normal, just none of my timer events occur. Memory and CPU seem normal. Running 8.1.5 in Docker on a Raspberry Pi 4 .