Clue: School task carried out in prison yard? (8)
Answer: EXERCISE
Explanation: Definition: School task
double definition: e.g. a written exercise for school, or physical exercise in the prison yard