int max_wait = 300; /* seconds */
int time_remaining;
if ((job->state != SLURMSTEPD_STEP_RUNNING) ||
if ((program_name == NULL) || (program_name[0] == '\0'))
program_name == NULL || program_name[0] == '\0')
return 0;
debug("step_terminate_monitor: unkillable after %d sec, calling: %s",