try {
int exitCode = -1;
int count = 0;
while(count<3 && exitCode!=0){
count++;
exitCode=job.run();
}
if(exitCode!=0) {
ScheduleInfoLog.error("HeartBeat Shell Error",new Exception(jobContext.getJobHistory().getLog().getContent()));
// 防止后面NPE
jobContext.putData("mem", 1.0);