Any railroad company in this State failing to comply with the provisions of Section 1 within 90 days after notice in writing of its failure to so comply is served upon any agent of the railroad by the authorized agent of any town or village aggrieved, shall pay for each day it so fails, the sum of $50 to be recovered in a civil action, in the name of the People of the State of Illinois. The penalty shall be paid to the town or village for the school fund.
610 ILCS 55/2