From owner-freebsd-questions@FreeBSD.ORG Thu May 13 15:41:47 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 73EBA16A4CE for ; Thu, 13 May 2004 15:41:47 -0700 (PDT) Received: from mta5.adelphia.net (mta5.adelphia.net [68.168.78.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1AB5343D2F for ; Thu, 13 May 2004 15:41:47 -0700 (PDT) (envelope-from Barbish3@adelphia.net) Received: from barbish ([67.20.101.71]) by mta13.adelphia.net (InterMail vM.5.01.06.08 201-253-122-130-108-20031117) with SMTP id <20040513222839.UYIT13425.mta13.adelphia.net@barbish> for ; Thu, 13 May 2004 18:28:39 -0400 From: "JJB" To: "freebsd-questions@FreeBSD. ORG" Date: Thu, 13 May 2004 18:28:38 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Importance: Normal Subject: perl pause or wait X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Barbish3@adelphia.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 May 2004 22:41:47 -0000 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