#!/bin/bash /usr/bin/mail -s "[$HOSTNAME] $2 Failed" $1 <