Skip to content

Commit

Permalink
Merge 30e5961 into 5d2653c
Browse files Browse the repository at this point in the history
  • Loading branch information
connesy committed Jul 2, 2019
2 parents 5d2653c + 30e5961 commit 86c58c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schedule/__init__.py
Expand Up @@ -479,9 +479,9 @@ def run(self):
:return: The return value returned by the `job_func`
"""
logger.info('Running job %s', self)
ret = self.job_func()
self.last_run = datetime.datetime.now()
self._schedule_next_run()
ret = self.job_func()
return ret

def _schedule_next_run(self):
Expand Down

0 comments on commit 86c58c7

Please sign in to comment.