Jogging and resting at the edge of the forest