From 07aeb8d9bf938bf0669889c5541065d5ce40fbbf Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 28 Apr 2022 07:19:27 +0200 Subject: [PATCH] Fixed job calls --- timeloop/job.py | 1 + 1 file changed, 1 insertion(+) diff --git a/timeloop/job.py b/timeloop/job.py index 0c0681c..5c32fdd 100644 --- a/timeloop/job.py +++ b/timeloop/job.py @@ -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)