I have a perl script that calls several other scripts...one of which keeps a log of its output. I want to add some code in the main script to read the log for any errors generated from the previous scripts and inform several people using sendmail.
I've considered the possibility of just doing a grep for the specific errors that I have seen ocurring from running the script earlier. But this will not inform when there are new errors that I am not aware of at this point.
Does anyone know of a better method to approach this problem? I appreciate your suggestions. Thank you!