Hi t-rex,
If monitoring "script A" is only possible via its logfile, you could use File::Tail and monitor the file, using a regex in a similar way you would when normally reading a file (perlintro).
Now as for what the regex should look like and "report to some other script that if the run is taking place", your question doesn't contain enough information to give you a suggestion yet.
Hope this helps,
-- Hauke D
In reply to Re: Searching a string in running file
by haukex
in thread Searching a string in running file
by t-rex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |