Get next job based on updated_at timestamp.