From owner-freebsd-questions@FreeBSD.ORG Thu Nov 3 21:40:14 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 32C9216A420 for ; Thu, 3 Nov 2005 21:40:14 +0000 (GMT) (envelope-from brandonh@hotandcold.biz) Received: from mail.themarcomgroup.com (207-114-172-156.gen.twtelecom.net [207.114.172.156]) by mx1.FreeBSD.org (Postfix) with SMTP id 90E5243D46 for ; Thu, 3 Nov 2005 21:40:13 +0000 (GMT) (envelope-from brandonh@hotandcold.biz) Received: (qmail 17342 invoked from network); 3 Nov 2005 21:40:10 -0000 Received: from adsl-71-132-117-69.dsl.bkfd14.pacbell.net (HELO BrandonH) (71.132.117.69) by mail.themarcomgroup.com with SMTP; 3 Nov 2005 21:40:10 -0000 From: "Brandon Hinesley" To: "'Giorgos Keramidas'" Date: Thu, 3 Nov 2005 13:41:10 -0800 Organization: Advanced Mechanical Systems, Inc. Message-ID: <001301c5e0bf$4fef37e0$6800a8c0@BrandonH> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcXgvA+XL9CD2DSST+e2nTLQ4qxD1wAAo9eQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 In-Reply-To: <20051103211743.GA26026@flame.pc> Cc: freebsd-questions@freebsd.org Subject: RE: Cron Job will not run. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Nov 2005 21:40:14 -0000 Okay, I exported the updated path to include "/usr/local/bin". Still not working though. My script is in /usr/local/Backup/scripts/bkup-daily. Since I'm referencing the absolute path in /etc/crontab like this: 35 13 * * * root /usr/local /Backup/scripts/bkup-daily I don't have to export /usr/local/Backup/scripts, right? root@server# export PATH="/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/bin" -----Original Message----- From: Giorgos Keramidas [mailto:keramida@ceid.upatras.gr] Sent: Thursday, November 03, 2005 1:18 PM To: Brandon Hinesley Cc: freebsd-questions@freebsd.org Subject: Re: Cron Job will not run. Merely adding it as an assignment is not enough for child processes of the cron script to 'see' the value. Make sure you also 'export' the new PATH: PATH='...' export PATH Then the rsync process will use the new PATH.