Added try and catch to command job to catch any errors
Fixed possible NPE that could cause jobs not to run and report no status