From owner-freebsd-questions@FreeBSD.ORG Tue Apr 4 23:31:58 2006 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 1651916A41F for ; Tue, 4 Apr 2006 23:31:58 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A91E43D45 for ; Tue, 4 Apr 2006 23:31:57 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 06CF85D81; Tue, 4 Apr 2006 19:31:57 -0400 (EDT) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 64460-07; Tue, 4 Apr 2006 19:31:56 -0400 (EDT) Received: from [192.168.1.3] (pool-68-160-194-11.ny325.east.verizon.net [68.160.194.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id 19DD05C27; Tue, 4 Apr 2006 19:31:56 -0400 (EDT) Message-ID: <443301F8.50106@mac.com> Date: Tue, 04 Apr 2006 19:32:08 -0400 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Marlon Martin References: In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com Cc: freebsd-questions@freebsd.org Subject: Re: cron question 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: Tue, 04 Apr 2006 23:31:58 -0000 Marlon Martin wrote: > i created a simple shell script: > > filename: rn > > #!/bin/sh > rndc dumpdb > > what it does, is just dump the hostname and IP addresses in /var/dump > i set the time in 2 minutes but when i checked the logs, it doesnt work any > idea what did i missed here? You forgot to use the full path to rndc in your shell script. You should not assume that the $PATH cron passes you is going to have that command available. -- -Chuck