aboutsummaryrefslogtreecommitdiff
path: root/jobmanager.py
diff options
context:
space:
mode:
Diffstat (limited to 'jobmanager.py')
-rwxr-xr-xjobmanager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jobmanager.py b/jobmanager.py
index 9bfb2d3..9519379 100755
--- a/jobmanager.py
+++ b/jobmanager.py
@@ -43,6 +43,7 @@ class JobManager:
emailWorks = True
for thisJob in self.jobs:
if thisJob.shouldExecute(cronmode):
+ logging.info("Executing " + thisJob.getName() + "(" + thisJob.getStateName() + ")")
try:
lastRunStatus = self.state[thisJob.getStateName()]
except:
@@ -50,7 +51,6 @@ class JobManager:
", making up a dummy state for it.")
lastRunStatus = self.state[thisJob.getStateName()] = JobState.Empty(thisJob.getStateName())
- logging.info("Executing " + thisJob.getName() + "(" + thisJob.getStateName() + ")")
if not thisJob.execute():
#Unsuccessful run
logging.info("Execution of " + thisJob.getName() + " failed")