in reply to Searching a string in running file
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Searching a string in running file
by t-rex (Scribe) on Jul 18, 2016 at 11:37 UTC | |
by haukex (Archbishop) on Jul 18, 2016 at 11:51 UTC | |
by t-rex (Scribe) on Jul 19, 2016 at 04:14 UTC | |
by Corion (Patriarch) on Jul 19, 2016 at 06:52 UTC | |
by haukex (Archbishop) on Jul 19, 2016 at 11:07 UTC | |
by Marshall (Canon) on Jul 19, 2016 at 16:15 UTC |