get job by tid
testing and enabling ttl