diff --git a/pymonitor/daemon.py b/pymonitor/daemon.py index c905efe..1a46724 100755 --- a/pymonitor/daemon.py +++ b/pymonitor/daemon.py @@ -139,6 +139,7 @@ class MonitorThread(Thread): if time() - self.lastRun > self.delay: self.lastRun = time() self.execute(self.config["args"]) + sleep(0.5) self.logger.info("scheduler exited") def execute(self, args):