The mayor shall have the superintending control of all officers and affairs of the city except when otherwise specially provided. He may, when he deems it necessary, require any officer of the city to exhibit his accounts or any other papers and to make report to the council, in writing, touching any subject or matter he may require pertaining to his office. He shall, from time to time, communicate to the city council such information and recommend such measures as, in his opinion, may tend to the improvement of the finances, police, health, security, ornament, comfort and general prosperity of the city. He shall be active and vigilant in enforcing all laws and ordinances of the city and shall cause all subordinate officers to be dealt with promptly in any neglect or violation of duty. He shall give written notice to the city clerk of his intended absence from the city.