How do I setup an alert email if specified values occur in a log file

How do I setup an alert email if specified values occur in a log file

Hi Experts,

I have .sh script configured using crontab and when it runs, it writes the output to a log file.

The output can be Passed or Error. I want to get an alert email when the output is Error.

Any help, I really appreciate.
Thank you.
Kitti
            Related Products