From owner-freebsd-questions@FreeBSD.ORG Wed Jul 18 12:29:24 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9703C16A400 for ; Wed, 18 Jul 2007 12:29:24 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id 6ECB813C442 for ; Wed, 18 Jul 2007 12:29:24 +0000 (UTC) (envelope-from fbsd06@mlists.homeunix.com) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id B511751931 for ; Wed, 18 Jul 2007 08:29:21 -0400 (EDT) Date: Wed, 18 Jul 2007 13:29:12 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20070718132912.12f9294f@gumby.homeunix.com.> In-Reply-To: <469D9CC2.4040902@u.washington.edu> References: <000f01c7c56d$da44d640$0200a8c0@satellite> <200707160427.l6G4Rb5q090225@banyan.cs.ait.ac.th> <469AFA30.4050504@u.washington.edu> <200707180233.l6I2XJrw097658@banyan.cs.ait.ac.th> <469D9CC2.4040902@u.washington.edu> X-Mailer: Claws Mail 2.9.2 (GTK+ 2.10.13; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: cron job every 5 hours 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: Wed, 18 Jul 2007 12:29:24 -0000 On Tue, 17 Jul 2007 21:53:22 -0700 Garrett Cooper wrote: > Shell scripts with sleep won't give you exactly the 5 hours you > desire, but should come close (within 1-5 seconds of actual time > depending on your host PC's precision, and whether or not your RTC > battery is dead ;)..). I don't think the RTC battery being dead would affect sleep times. 5 hours in 1970 (or whenever) are the the same length as 5 hours now. If you want to anything more complex than can be achieved with cron, it's probably better to install one of the cron replacement ports, such as fcron. I don't see any reason why one of these couldn't run in parallel with the existing cron, or you can turn-off cron in rc.conf.