If any vehicle shall be found illegally parked or parked overtime or in violation of any of the provisions of this article, it shall be the duty of the chief of police or other police or peace officers of the city to attach to such vehicle a notice to the owner or operator thereof, if the owner or operator is absent, or to deliver to the owner or operator, if he is present, a notice to the effect that such vehicle has been illegally parked or parked overtime or in violation of a provision of this article.