Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Feb 2003 13:14:17 -0500
From:      Bill Moran <wmoran@potentialtech.com>
To:        Charlie ROOT <root@sparbanken.org>
Cc:        questions@FreeBSD.org
Subject:   Re: Cat.
Message-ID:  <3E4D31F9.7040108@potentialtech.com>
References:  <20030214183909.Q78002-100000@sparbanken.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E4D31F9.7040108>