An Ayer man, charged with a cyberattack on a school computer network in Essex County, pleaded guilty Wednesday in federal court. After realizing he had already been hired at a new school, the judge ordered that he must also inform any prospective employers of his guilty plea.