A.
All unoccupied houses, factories and other buildings shall be kept securely locked and the doors and windows thereof kept closed and fastened at all times so as to prevent the entrance thereto of tramps and idlers and persons having no right to enter the same.
B.
Whenever the Director of the Police Department is of the opinion that any unoccupied house, factory or other building is insufficiently locked or the doors or windows thereof are not kept properly closed or fastened so as not to prevent the entrance thereto of unauthorized persons and persons having no right to enter the same, it shall be his duty to serve a notice upon the owner of the house, factory or other building of the improper condition of such house, factory or other building requiring such owner to remedy the condition mentioned in such notice within five (5) days from the service of such notice or, in default thereof, be subject to the penalty prescribed in this Article. Such notice may be served as a summons in courts of law is served, or, if the owner resides out of the county, such notice may be served by posting a copy thereof on the unoccupied house, factory or other building. If the improper condition mentioned is not remedied within the time required by such notice, the owner of the house, factory or other building shall be guilty of a violation of this Article.