school bells in advanced countries are connected to clocks. earlier those clocks were programable with electro mechanical alarm circuits which trigger the mechanical bells.
these days all such school bells are connected to school public address system amplifier.
- refer to sehri iftari alarm from masjid -