Skip to content

Commit

Permalink
Added logging to end of Job._scheduled_next_run() method
Browse files Browse the repository at this point in the history
  • Loading branch information
inkychris committed Jul 7, 2018
1 parent cd890d0 commit d14bb83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions schedule/__init__.py
Expand Up @@ -464,6 +464,7 @@ def _schedule_next_run(self):
# Let's see if we will still make that time we specified today
if (self.next_run - datetime.datetime.now()).days >= 7:
self.next_run -= self.period
logger.info('Scheduled job %s', self)


# The following methods are shortcuts for not having to
Expand Down

0 comments on commit d14bb83

Please sign in to comment.