Upon determination that a violation of the Uniform Code, the Energy Code or this chapter exists in, on, or about any building or premises, the Code Enforcement Officer shall order in writing the remedying of the condition. Such order shall state the specific provision of the Uniform Code, the Energy Code or this chapter which the particular condition violates and shall grant such time as may be reasonably necessary for achieving compliance before proceedings to compel compliance shall be instituted, in which event shall not be more than 30 days. Such order shall be served upon the owner of the premises or his authorized agent, personally or by certified mail, at his last known address, as the same appears on the assessment rolls of the Village. The Code Enforcement Officer shall cause a copy of such notice to be filed with the Village Clerk against the subject premises until such time as the violation is cured.