#!/bin/sh wget -qO- http://meinOMServer:5080/openmeetings/ >/dev/null f=$? if [ ! $f -eq 0 ]; then echo https://meinOMServer/ | mail -s Openmeetingsfehler admin@domain.de /etc/init.d/red5 stop /etc/init.d/mysql restart /etc/init.d/red5 start # echo $f returnwert fi