Before entering upon the duties of office after being elected, or, if appointed, within 10 days after receiving notice of appointment, each member of the district school board shall take the prescribed oath of office.