From owner-freebsd-questions Fri Jan 17 14:38: 4 2003 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 D336C37B401 for ; Fri, 17 Jan 2003 14:38:03 -0800 (PST) Received: from rhadamanth.submonkey.net (pc1-cdif2-5-cust47.cdif.cable.ntl.com [81.101.150.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4697243F13 for ; Fri, 17 Jan 2003 14:38:02 -0800 (PST) (envelope-from setantae@submonkey.net) Received: from setantae by rhadamanth.submonkey.net with local (Exim 4.12) id 18Zf7g-0006Un-00; Fri, 17 Jan 2003 22:38:00 +0000 Date: Fri, 17 Jan 2003 22:38:00 +0000 From: Ceri Davies To: Gerard Samuel Cc: FreeBSD Questions Subject: Re: Crontab and jobs Message-ID: <20030117223800.GA82138@submonkey.net> Mail-Followup-To: Ceri Davies , Gerard Samuel , FreeBSD Questions References: <3E288543.9020708@trini0.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E288543.9020708@trini0.org> X-message-flag: All your linuxconf-configured redhat are belong to us. X-message-flag-attribution: suresh, sdm. User-Agent: Mutt/1.5.3i 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 On Fri, Jan 17, 2003 at 05:35:47PM -0500, Gerard Samuel wrote: > Im trying to setup a cron job to back up my db. > If I manually execute the script it works fine, but the cron job isn't > executing the job. > > ## Backup PostgreSQL database > */1 * * * * /root/bin/pgsql-back 2> > /dev/null > /dev/null > > Anyone notice anything with this crontab entry??? Show us the script. It's probably your path. Ceri -- Remember the tome of the brethren! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message