From owner-freebsd-questions@FreeBSD.ORG Sat Aug 16 22:22:02 2003 Return-Path: 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 C9A6537B401 for ; Sat, 16 Aug 2003 22:22:02 -0700 (PDT) Received: from zim.0x7e.net (zim.0x7e.net [203.38.184.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD9CF43F75 for ; Sat, 16 Aug 2003 22:22:01 -0700 (PDT) (envelope-from listone@deathbeforedecaf.net) Received: from goo.0x7e.net ([203.38.184.164] helo=goo) by zim.0x7e.net with smtp (Exim 3.36 #1) id 19oFzK-000Hci-00; Sun, 17 Aug 2003 14:51:58 +0930 Message-ID: <009c01c3647f$7b167780$a4b826cb@goo> From: "Rob" To: "Rob Lahaye" , References: <3F3F0CB0.4050205@snu.ac.kr> Date: Sun, 17 Aug 2003 14:51:58 +0930 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4927.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 Subject: Re: /etc/daily.local : old and for backwards compatibility ? What is new way ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Aug 2003 05:22:03 -0000 If you create the directory /usr/local/etc/periodic/daily, scripts placed there will be executed during the daily run. ----- Original Message ----- From: "Rob Lahaye" Subject: /etc/daily.local : old and for backwards compatibility ? What is new way ? > > > Hi, > > I want to run my own script in the periodic/daily procedure > (e.g. synchronize time with ntpdate and update ports with cvsup). > > I had a look at /etc/periodic/daily/999.local, which says: > > # Run the old /etc/daily.local script. This is really for backwards > # compatibility more than anything else. > > Using /etc/daily.local makes things indeed very easy and straight forward. > But since this is mainly for backwards compatibility, I wonder what is the > new way of doing what I want to do. > Appending my script to /etc/periodic/daily/999.local ? > > Thanks, > Rob. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >