From owner-freebsd-questions@FreeBSD.ORG Wed Apr 29 13:17:08 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49702106566B for ; Wed, 29 Apr 2009 13:17:08 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.154]) by mx1.freebsd.org (Postfix) with ESMTP id C8ACC8FC0A for ; Wed, 29 Apr 2009 13:17:07 +0000 (UTC) (envelope-from onemda@gmail.com) Received: by fg-out-1718.google.com with SMTP id e12so871385fga.12 for ; Wed, 29 Apr 2009 06:17:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=cS2eizKSaqfrcZ+Y9Zhdhs6mCvZoVuEuqQaqtURftyc=; b=YOQrWZcPuuvpJcGex4JVP+LmswXDk0WR4UuOoC4ERn8JZax/Tzpg3YO29PybdOHZhH i+gh6zJFVvv0E/T4g3Da4KLhoZ66TtcAUS5B5fUqS3pdCMtj5e/Y4/g8wGupW9X70Pi5 lOgpdTNsggmZqIuupZ0O+rJyez0GH4DsN0IH8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=BQWhEiQT513tDZYMYi4hleOCntL3Vw1wI2TCop1BC4El+xArcHqLkVnv+w+bN5gMj8 JUgviPosnqtbIEk7NagaNjdkvqQZPMLpw+C1rOiRR3pU3e+UH5iyB42J7gQEnieUnNw/ 2vvBIvSVTIVyuSrXrt75u6gE5sqCC98ET/s44= MIME-Version: 1.0 Received: by 10.239.170.142 with SMTP id s14mr17802hbe.89.1241011026613; Wed, 29 Apr 2009 06:17:06 -0700 (PDT) In-Reply-To: <892451.85852.qm@web51402.mail.re2.yahoo.com> References: <3a142e750904290558k3fa85c57sb8675172907c79b6@mail.gmail.com> <892451.85852.qm@web51402.mail.re2.yahoo.com> Date: Wed, 29 Apr 2009 15:17:06 +0200 Message-ID: <3a142e750904290617t4a18289xc1ed093cd9cfb485@mail.gmail.com> From: "Paul B. Mahol" To: aopopov@yahoo.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, "Daniel C. Dowse" Subject: Re: atacontrol spindown 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, 29 Apr 2009 13:17:08 -0000 On 4/29/09, Alexander Popov wrote: > > Hi, Paul, > > Below is my /etc/crontab. The only thing that is run at 3 am is periodic > daily. > If any of scripts from /etc/crontab needs access(just reading, not counting writing, considering it is not already cached) on spindowned hard disk your mission will fail. If you want to keep logging and logs (via another ways) you could make memory disk for root and var slice ... and transfer logs to another media ... or use another hard disk for that.... > # /etc/crontab - root's crontab for FreeBSD > # > # $FreeBSD: src/etc/crontab,v 1.32.32.1 2008/11/25 02:59:29 kensmith Exp $ > # > SHELL=/bin/sh > PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin > HOME=/var/log > # > #minute hour mday month wday who command > # > */5 * * * * root /usr/libexec/atrun > # > # Save some entropy so that /dev/random can re-seed on boot. > */11 * * * * operator /usr/libexec/save-entropy > # > # Rotate log files every hour, if necessary. > 0 * * * * root newsyslog > # > # Perform daily/weekly/monthly maintenance. > 1 3 * * * root periodic daily > 15 4 * * 6 root periodic weekly > 30 5 1 * * root periodic monthly > # > # Adjust the time zone if the CMOS clock keeps local time, as opposed to > # UTC time. See adjkerntz(8) for details. > 1,31 0-5 * * * root adjkerntz -a > > > > --- On Wed, 4/29/09, Paul B. Mahol wrote: > >> From: Paul B. Mahol >> Subject: Re: atacontrol spindown >> To: aopopov@yahoo.com >> Cc: freebsd-questions@freebsd.org, "Daniel C. Dowse" >> Date: Wednesday, April 29, 2009, 2:58 PM >> On 4/29/09, Alexander Popov wrote: >> > >> > Hi, Daniel, >> > >> > It must be periodic(8), but I have trouble identifying >> what exactly could be >> > the trigger. If I look at /etc/defaults/periodic.conf, >> it has >> > daily_clean_disks_enable="NO". >> > With respect to daily checks, I just have the default >> setup, nothing that I >> > added myself. >> > >> > Are there any other configuration options that I >> should look at? >> >> /etc/crontab >> >> -- >> Paul > > > > -- Paul