6.13.2009

bash to send mail

Script para enviar correo, lo usaba si algo pasaba ...tons mi blackberry decir ring ring ...

#!/bin/sh
echo "| RECOVERY ALERT | DS3 (alive) line is UP : contact to network admin as soon as posible" | mail -s "[RECOVERY ALERT] BSE NETWORK IN ROLLBACK MODE" netadmin@mihotmail.com

No hay comentarios.:

Publicar un comentario