From owner-freebsd-questions Thu Aug 8 9:37:14 2002 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 A540537B400 for ; Thu, 8 Aug 2002 09:37:12 -0700 (PDT) Received: from slate.dublin.wbtsystems.com (slate.dublin.wbtsystems.com [193.120.231.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADA8C43E6E for ; Thu, 8 Aug 2002 09:37:11 -0700 (PDT) (envelope-from barry.byrne@wbtsystems.com) Received: from spiral (spiral.dublin.wbtsystems.com [193.120.231.190]) (authenticated bits=0) by slate.dublin.wbtsystems.com (8.12.5/8.12.5) with ESMTP id g78Gb8jB038821; Thu, 8 Aug 2002 17:37:08 +0100 (IST) From: "Barry Byrne" To: "Cliff" , Subject: RE: Cron running scripts Date: Thu, 8 Aug 2002 17:37:07 +0100 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.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal In-Reply-To: <009201c23f5d$a48911b0$6401a8c0@tsunami> X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG You need to supply some more details: Could be permissions problem? What user's crontab is being used? Could be you are using relative directory's in your script, which work fine when you run manually from the appropriate directory, but the cron job starts elsewhere. Posting the script would be a help. - Barry -- Barry Byrne, IT Manager, WBT Systems, Block 2, Harcourt Centre Harcourt Street, Dublin 2, Ireland > -----Original Message----- > From: owner-freebsd-questions@FreeBSD.ORG > [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Cliff > Sent: 09 August 2002 05:32 > To: freebsd-questions@FreeBSD.ORG > Subject: Cron running scripts > > > I have a perl script that is run every night to backup some > directories. The > output from the scripts says it completed fine, but nothing is actually > output. When I run the script manually it produces the same output, but it > actually writes the backup files. Why doesn't cron running the script do > this? > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message