From owner-freebsd-questions Fri Feb 14 10:14:21 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 1A05E37B401 for ; Fri, 14 Feb 2003 10:14:20 -0800 (PST) Received: from pa-plum1b-166.pit.adelphia.net (pa-plum1b-13.pit.adelphia.net [24.53.161.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 355EB43FAF for ; Fri, 14 Feb 2003 10:14:19 -0800 (PST) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (working [172.16.0.95]) by pa-plum1b-166.pit.adelphia.net (8.12.3/8.12.3) with ESMTP id h1EIEHrX003557; Fri, 14 Feb 2003 13:14:18 -0500 (EST) (envelope-from wmoran@potentialtech.com) Message-ID: <3E4D31F9.7040108@potentialtech.com> Date: Fri, 14 Feb 2003 13:14:17 -0500 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021127 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Charlie ROOT Cc: questions@FreeBSD.org Subject: Re: Cat. References: <20030214183909.Q78002-100000@sparbanken.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Charlie ROOT wrote: > Hi. > If I will have a command running lets say every 5th hour, how do I typ?? > the command is: > > cat resolv.conf > /etc/resolv.conf The information you are looking for is in the crontab manpage (as someone else pointed out) Although I'd like to point out an alternative. Any program that I know of that modifies /etc/resolv.conf (such as dhclient) can be configured to _not_ modify /etc/resolv.conf. If you're trying to do this to over- ride some daemon updating resolv.conf, consider properly configuring that daemon first. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message