}//TESTED - (don't run/daily/once-only) - covers all the cases, except the "theoretical" null cases
if (tryToKillJob) {
// (ie is running and updating it to mean don't run anymore .. that 4e12 number is 2099 in ms, anything bigger than that is assumed to mean "don't run)
CustomProcessingController pxController = new CustomProcessingController();
if (pxController.killRunningJob(cmr)) {
rp.setResponse(new ResponseObject("Update MapReduce Job",true,"Killed job, may take a few moments for the status to update."));
}
else {
rp.setResponse(new ResponseObject("Update MapReduce Job",false,"Failed to kill the job - it may not have started yet, try again in a few moments."));
}