Date: Tue, 3 Dec 2013 09:48:04 +0000 From: krad <kraduk@gmail.com> To: Mike Clarke <jmc-freebsd2@milibyte.co.uk> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: System reboots ~3am during daily periodic 450.status-security run Message-ID: <CALfReycK0hWugawE903iAk7hGDcrS=K0ezpbAe4xUjHEhj5mxA@mail.gmail.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <jmc-freebsd2@milibyte.co.uk> 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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALfReycK0hWugawE903iAk7hGDcrS=K0ezpbAe4xUjHEhj5mxA>