little modification in logger
JobExecutor can run job from the console