job_status function

Job status by job ID or name