No not at all
We use TWS to support our customer and most of time whenever we have files in place jobs which are schedule to process doesn't work , I would not say most of the time but very frequent .
So we came up with an idea of having a script in place which will check the Path and if we have more than 5 files in place it should trigger an alert via sending an email. Once email is send we have support team who check respective job , whether its in execution or not , if not they will reach us . In few occasion this has really help us to identify the problem before customer reaches us . That's what we been paid for.
I have created a script which just checks 1 path and it works fine. if the same thing needs to be implemented than I have to created approx 100 plus script to check different path . to overcome I have created a script which I have posted, it check all the path mention in the file.
Master server is a windows and it only support Perl and I have very little experience in PERL. The script which I have worked on is able to identify everything but only problem is it is not getting incremented.
I would have used the same script and would have published the output which is getting generated in data1.txt.
Reason for this post is if someone would come up with different idea or expertise which I was missing in my script.