Es gibt bereits ein fertiges SMS-Alarmscript hier im Forum. Einfach mal suchen.