use sacct if scontrol couldnt find the job
use sacct if scontrol couldnt find the job

when a job has been in COMPLETED state for longer than a certain ammount of time,
slurm does not display it in the output of scontrol anymore. Instead it complains:
    slurm_load_jobs error: Invalid job id specified

When this happens, fallback to using sacct which has access to the full history.

mehdisadeghi/saga-python,telamonian/saga-python,luis-rr/saga-python,luis-rr/saga-python,luis-rr/saga-python,mehdisadeghi/saga-python,telamonian/saga-python