The police recorder [municipal court judge], when any person or persons are arraigned before the police court [municipal court] charged with a violation of any of the ordinances, regulations or rules of the city, may for good cause shown by either side continue the hearing to such times as the case may be adjourned to, and the accused may be required to give bond as security for his appearance at the appointed time for trial, or be imprisoned to await trial. If such bond be given and the accused fails to appear at the time fixed for trial, the bond may be forfeited by the recorder [judge] and an execution issued thereon by serving the defendant, if found, and his sureties, with a rule nisi at least five days before the hearing of the said rule nisi.