how to handle errors/notifications on scripts?
I'm wondering how to handle errors/notifications on scripts.
Currently, I'm working in the analysis of systems which interact together. Right now there is a mess because they neither log information nor parse the data before process. Moreover some scripts send email notification which is a headache because each script do so and it is almost impossible to change each script in order to snooze. Code:
I'm thinking into create logs file telling about the process on the script and log the information on specific files like: Code:
Q1: Any one has a better idea approach to accomplish this task?. |
Have you read this thread ?
|
lol! Couldn't have said it better myself Chinaman.
|
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.
http://www.linuxquestions.org/rules.php |
All times are GMT -5. The time now is 06:40 AM. |