How do I setup an alert email if specified values occur in a log file
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.