A school principal has said it is “only a matter of time” before a child is knocked down outside her school.