Getting status of jobs