The mayor shall perform all duties prescribed by law or by the city ordinances and shall see that the laws and ordinances are faithfully executed.