The mayor shall be active and vigilant in enforcing all laws and ordinances for the government of the city, and he shall cause all subordinate officers to be dealt with promptly for any neglect or violation of duty; and he is hereby authorized to call on every male inhabitant of the city over eighteen years of age and under fifty, to aid in enforcing the laws.