why GetEntByNum() doesn't work? it's even in the documentation! anyway your code works great, thanks!
can that infinite check cause performance problems? Dunno just asking.
Yeah you're right I setup a test to try and it stops all with the same name. That's why I have now a dynamic name for the event so it stops the right one everytime.
But if you're telling me that I can just leave it running forever without performance problems, it's easier to do.
I actually send the data with curl to another server don't need to store anything here. SQL server is not exposed on the internet.
I was using python before to send the data but I think with .sh is faster.
Is this such a shitty architecture? I'd love suggestions on all fronts, as always thank you for the heads up.