Does FOG have a timetick event?
-
I’m trying to make a plugin that scans a folder periodically to detect any addition/removal of files. The problem is, when I try to implement this functionality with a simple while(true)-loop and sleep(), FOG completely stops working. Does FOG have some sort of TimeTick-Event that I can use for this mechanism?
Thanks.
-
@Asthea not that I am aware of. You could spawn a new thread that makes a local timetick event. Or you could make it as a Service, which would prevent any web portal freezing altogether.
-
@Jbob Yes, spawning a new thread was what I was going to try out next. Thanks for the help.