Skip to content
Snippets Groups Projects
Commit dc5f3803 authored by Danny Auble's avatar Danny Auble
Browse files

job mode will display all jobs in queue.

parent a576018c
No related branches found
No related tags found
No related merge requests found
...@@ -40,7 +40,7 @@ extern void get_job(void) ...@@ -40,7 +40,7 @@ extern void get_job(void)
if (job_info_ptr) { if (job_info_ptr) {
error_code = slurm_load_jobs(job_info_ptr->last_update, error_code = slurm_load_jobs(job_info_ptr->last_update,
&new_job_ptr, 0); &new_job_ptr, SHOW_ALL);
if (error_code == SLURM_SUCCESS) if (error_code == SLURM_SUCCESS)
slurm_free_job_info_msg(job_info_ptr); slurm_free_job_info_msg(job_info_ptr);
else if (slurm_get_errno() == SLURM_NO_CHANGE_IN_DATA) { else if (slurm_get_errno() == SLURM_NO_CHANGE_IN_DATA) {
...@@ -48,7 +48,7 @@ extern void get_job(void) ...@@ -48,7 +48,7 @@ extern void get_job(void)
new_job_ptr = job_info_ptr; new_job_ptr = job_info_ptr;
} }
} else } else
error_code = slurm_load_jobs((time_t) NULL, &new_job_ptr, 0); error_code = slurm_load_jobs((time_t) NULL, &new_job_ptr, SHOW_ALL);
if (error_code) { if (error_code) {
if (quiet_flag != 1) { if (quiet_flag != 1) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment