if (jobExecutorContext != null) { // if null, then we are not called by the job executor
jobExecutorContext.setCurrentJob(job);
}
try {
job.execute(commandContext);
return null;
} catch (RuntimeException exception) {
log.warning("Exception while excuting job '" + job + "': " + exception.getMessage());