Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 May 2004 18:28:38 -0400
From:      "JJB" <Barbish3@adelphia.net>
To:        "freebsd-questions@FreeBSD. ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   perl   pause or wait
Message-ID:  <MIEPLLIBMLEEABPDBIEGOEBBFOAA.Barbish3@adelphia.net>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?MIEPLLIBMLEEABPDBIEGOEBBFOAA.Barbish3>