Mother gets 5 years probation for spanking child