Hi guys,
I have a big problem, I have a process that executes after 7 PM everyday, from time to time it is suspended because of communication problems. What I need is a process that executes on background and monitors the main process. What I've been doing is every 10 mins. I create a text file with the information of the progress of the execution of the process, and I am able to know the status, in this case I need to do a script that checks if the ERROR status is in the text file, then restart the main process. I have checked the WC command but it shows the filename and I just can't find someother way.
Do you have any idea of how to solve this? Thanks in advance.
Daniel Buentello.
I have a big problem, I have a process that executes after 7 PM everyday, from time to time it is suspended because of communication problems. What I need is a process that executes on background and monitors the main process. What I've been doing is every 10 mins. I create a text file with the information of the progress of the execution of the process, and I am able to know the status, in this case I need to do a script that checks if the ERROR status is in the text file, then restart the main process. I have checked the WC command but it shows the filename and I just can't find someother way.
Do you have any idea of how to solve this? Thanks in advance.
Daniel Buentello.