diff options
-rwxr-xr-x | desktop-cronish | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/desktop-cronish b/desktop-cronish index 53e52ed..0765bd2 100755 --- a/desktop-cronish +++ b/desktop-cronish @@ -85,7 +85,8 @@ class DesktopCronish(cliapp.Application): def wait_until(self, when): while self.now() < when: seconds = when - self.now() - self.status('Sleeping for %.1f seconds' % seconds) + t = time.localtime(when) + self.status(time.strftime('Sleeping until %H:%M:%S', t)) time.sleep(seconds) def execute_job(self, job_name): |