From owner-freebsd-questions@FreeBSD.ORG Tue Dec 3 11:45:59 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 4FD2E7F7 for ; Tue, 3 Dec 2013 11:45:59 +0000 (UTC) Received: from outbound-queue-2.mail.thdo.gradwell.net (outbound-queue-2.mail.thdo.gradwell.net [212.11.70.35]) by mx1.freebsd.org (Postfix) with ESMTP id 125521D07 for ; Tue, 3 Dec 2013 11:45:58 +0000 (UTC) Received: from outbound-edge-2.mail.thdo.gradwell.net (bonnie.gradwell.net [212.11.70.2]) by outbound-queue-2.mail.thdo.gradwell.net (Postfix) with ESMTP id C97E65558B for ; Tue, 3 Dec 2013 11:44:49 +0000 (GMT) Received: from cpc7-jarr12-2-0-cust882.16-2.cable.virginm.net (HELO amd.asgard.uk) (92.238.71.115) (smtp-auth username fbsd%pop3.dgmm.net, mechanism plain) by outbound-edge-2.mail.thdo.gradwell.net (qpsmtpd/0.83) with ESMTPA; Tue, 03 Dec 2013 11:44:49 +0000 From: dgmm To: freebsd-questions@freebsd.org Subject: Re: System reboots ~3am during daily periodic 450.status-security run Date: Tue, 3 Dec 2013 11:44:40 +0000 User-Agent: KMail/1.13.7 (FreeBSD/9.1-RELEASE-p7; KDE/4.10.5; amd64; ; ) References: <201312012352.01075.freebsd01@dgmm.net> <201312030924.10969.jmc-freebsd2@milibyte.co.uk> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201312031144.40570.freebsd01@dgmm.net> X-Gradwell-MongoId: 529dc431.859b-7525-2 X-Gradwell-Auth-Method: mailbox X-Gradwell-Auth-Credentials: fbsd@pop3.dgmm.net 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 11:45:59 -0000 On Tuesday 03 December 2013 09:48:04 krad wrote: > or you could use the @reboot option, that would mean it always runs at > crons start, which may not be what you want, Yes, that was my first thought but the overheads at boot time might be inconvenient although I'll try it to find out. > 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. That's a good thought. > 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 zfs as boot drive was still reletively complex to set up, in my mind at least, when I built this box and yes, I also thought "everything on root" possibly wasn't the right way to go, but I thought I'd give it a try since the handbook recommended it. /home is seperate, but next build will have seperate mount points, whether zfs or ufs :-) > 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" > > _______________________________________________ > 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"