I am trying to run a test case via automation testing (sahi) , so I am running it repeatedly after 1 hour (via crontab).
What I want is that whenever my test case fails i should receive the email otherwise not. Right now I am receiving mail whether it passes or fails.
In short, can I send mail to a person depending upon the output I get in terminal.
I am using Ubuntu 10.10.