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?
Yes, use the sleep() function.
perldoc -f sleep for more information.
-Dan _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"