Fixed job calls
This commit is contained in:
parent
2af9c8dd87
commit
07aeb8d9bf
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@ class Job(Thread):
|
|||
def run(self):
|
||||
if self.offset:
|
||||
sleep(self.offset.total_seconds())
|
||||
self.execute(*self.args, **self.kwargs)
|
||||
|
||||
while not self.stopped.wait(self.interval.total_seconds()):
|
||||
self.execute(*self.args, **self.kwargs)
|
||||
|
|
Loading…
Reference in a new issue