Be it further enacted that the City Council of Cumming shall have power and authority to require, compel, and make all persons, between the ages of twenty-one years and fifty years, subject to road duty under the laws of this State, resident in said city, to work on the streets of said city not to exceed eight days in each year, at such times as the city council may order; or to pay a commutation tax in lieu thereof, not to exceed four dollars in any one year, as said city council may determine. Should any person subject to work the streets of said city under this section fail or refuse to do so, or to pay the street tax assessed in lieu thereof, after having received due notice so to do from the chief of police or any member of the police force, he shall be deemed guilty of a violation of this section, and on conviction in the municipal court of said city shall be fined in the sum not exceeding ten dollars, or be punished by imprisonment in the guard-house or by compulsory labor on the streets in the chain-gang of said city not exceeding twenty days. Thirty days continuous residence in the corporate limits of said city, shall be sufficient to constitute a person a resident of said city, so as to subject him to liability to street work. The city council may pass such ordinances as they deem proper and necessary for enforcing the provisions of this section.