I was asked by someone here at work if there was a way that I could write a script that would automate a backup job on a Windows box (has perl on it).
But one of the steps involvs backup up some files, and then calling another script (perl) which actually does the backup. Now, both of these steps will produce some kind of output normally, such as "xx files copied" and "restored successfully".
Is there a way that I can watch or look for this output, and then move onto the next step only when I see this? Sometimes, the times vary as far as how long it takes.
Thanks in advance!
In reply to How to monitor/look for output? by scottdware
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |