perl pause or wait

JJB Barbish3 at adelphia.net
Thu May 13 15:41:47 PDT 2004


I have perl script that issues the newsyslog command followed by 3
perl scripts that process the new .0 rotated file.

Problem is the newsyslog rotate has not completed creating the new
.0 and rolling through the other .x files before the first perl
script in trying to open the .0 file for processing.

Is there in perl pause or wait command I can use to  allow some time
to elapse before continuing with the launch of the next script?

Thanks



More information about the freebsd-questions mailing list