Upon notice from the city clerk or his designated representative, work on any building, structure, system or component therein that is being done contrary to the provisions of the state minimum standard codes, or in a dangerous or unsafe manner, or in violation of any other applicable law, rule, or regulation, shall immediately cease. Such notice shall be given in writing, directed to the owner of the property and to the person doing the work, and shall state the conditions under which work may be resumed. Where an emergency situation exists, the city clerk or his designated representative shall not be required to give a written notice prior to stopping the work.