Violations and penalties. For each and every violation of the provisions of this chapter, the owner, contractor or other person interested as general agent, architect, building contractor, tenant or any other person who commits, takes part in, or assists in any violation of this chapter, or who maintains any building or premises in which any violation of this chapter shall exist, and who shall have refused to abate such violation within five days after written notice shall have been served upon him, either by certified mail or personal service, shall be subject to a fine of not more than $1,250 or imprisonment in the county jail for a period not exceeding 90 days, or both, at the discretion of the county or judicial officer before whom a conviction may be had. Each and every day that such violation continues after such notices shall be considered a separate and specific violation of this chapter.