From owner-freebsd-questions@FreeBSD.ORG Tue Dec 3 09:48:05 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D91B150F for ; Tue, 3 Dec 2013 09:48:05 +0000 (UTC) Received: from mail-qa0-x236.google.com (mail-qa0-x236.google.com [IPv6:2607:f8b0:400d:c00::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9606113D1 for ; Tue, 3 Dec 2013 09:48:05 +0000 (UTC) Received: by mail-qa0-f54.google.com with SMTP id f11so5428797qae.20 for ; Tue, 03 Dec 2013 01:48:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=UAuBaFdh6Bg5GVdiIiQiw5LQqi2XOJOvtoogjDGLUAw=; b=mAAr2+XGvNHnyLBuO1vS2oYfYiBhBzKMtOBtSk9EIlpH8bE9sSHKY6P1I7U+GR1ThN 59VfpDmGX4UUqhHvZY1FBCuORJ95Xr+fcO5fvlEE9izoLcRl+lSO3CUhmdUTh38VHEqB 7X5UgnuKzyE0WqcqecmtpFbPKXkoewaU8fKj0+9e6WN9vAF2KkuBOXqvccnnabELEv6e OpwVF8HQNJGgPNtrAPeOjaXffY9s+6y2k7BI/CiPNtfhoJL11YokV8yUETyM+ldYxXuq gNFdRzdBgGBRtYLlldOYgzcB4lal0/EJQnIDfWm0VkQN9EJfGIMt6ycY0iVdZOSjnN7h mFsA== MIME-Version: 1.0 X-Received: by 10.229.137.135 with SMTP id w7mr122911779qct.14.1386064084399; Tue, 03 Dec 2013 01:48:04 -0800 (PST) Received: by 10.224.36.137 with HTTP; Tue, 3 Dec 2013 01:48:04 -0800 (PST) In-Reply-To: <201312030924.10969.jmc-freebsd2@milibyte.co.uk> References: <201312012352.01075.freebsd01@dgmm.net> <529C4213.2010307@sdf.org> <201312022040.11070.freebsd01@dgmm.net> <201312030924.10969.jmc-freebsd2@milibyte.co.uk> Date: Tue, 3 Dec 2013 09:48:04 +0000 Message-ID: Subject: Re: System reboots ~3am during daily periodic 450.status-security run From: krad To: Mike Clarke Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Dec 2013 09:48:05 -0000 or you could use the @reboot option, that would mean it always runs at crons start, which may not be what you want, Alternatively you could cron your script every x period and get it to touch a file in /tmp, if its younger than x, the script terminates, if not you retouch and carry on. More messy but no extra software. With regards to partition layouts, I think sticking everything on / is crazy, and is geared up more for novice users who want flexibility. However if you want flexibility you should really use zfs in my opinion if at all possible. On a production ufs system I always keep the / fs purely read only apart from system updates. If I want to save mountpoints, i will drop /usr and /usr/local, but never /var /tmp, and /home On 3 December 2013 09:24, Mike Clarke wrote: > On Monday 02 Dec 2013 20:40:11 dgmm wrote: > > > This does bring to mind something I'd not previously thought of. Except > > for the rare times I leave a job running overnight, periodic never > > runs. I'll have a to make a decision on what to do about that. > > Consider sysutils/anacron > > Anacron can be used to execute commands periodically, with a frequency > specified in days. Unlike cron(8), it does not assume that the machine is > running continuously. Hence, it can be used on machines that aren't > running > 24 hours a day, to control daily, weekly, and monthly jobs that are usually > controlled by cron. > > -- > Mike Clarke > _______________________________________________ > 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" >