From 05901495715632a4f1995a267b1fc7006b488e6a Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 11 Apr 2013 21:17:00 +0100 Subject: Improve progress reporting --- desktop-cronish | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/desktop-cronish b/desktop-cronish index 0fd9676..53e52ed 100755 --- a/desktop-cronish +++ b/desktop-cronish @@ -90,7 +90,8 @@ class DesktopCronish(cliapp.Application): def execute_job(self, job_name): job = self.jobs[job_name] - self.status('Executing job %s: %s' % (job_name, job['command'])) + self.ts.notify('Executing job %s' % job_name) + self.status('Started command: %s' % job['command']) argv = ['sh', '-c', job['command']] if 'timeout' in job: argv = ['timeout', str(job['timeout'])] + argv -- cgit v1.2.1