It shall be unlawful for any person charged with the custody of any jail or other place of criminal incarceration to allow such premises at any time when occupied to be unattended by a duly authorized person who shall have access to and be in reasonable communication with the persons therein.

Any person convicted of violating the provisions of this section shall be fined not less than one hundred dollars nor more than five hundred dollars or imprisoned for not less than thirty days nor more than six months, or both, in the discretion of the court.