Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Nov 2011 22:36:40 +0100
From:      Christian Kastner <debian@kvr.at>
To:        freebsd-hackers@freebsd.org
Subject:   Re: cron(8) mis-feature with @reboot long after system startup
Message-ID:  <4ED00A68.4040606@kvr.at>
In-Reply-To: <20111125070241.GA7915@DataIX.net>
References:  <20111125070241.GA7915@DataIX.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On 2011-11-25 08:02, Jason Hellenthal wrote:
> So with that said... is there a way we could actually make this run @reboot only ?

Debian's cron[0] and Fedora's cronie[1] have solved this by touching a
file on first startup and running @reboot only when this file does not
yet exist.

Note that while [0] may point to other patches that might be of interest
to FreeBSD, they are still WIP (as evident from the linked patch) as we
are still in the process of quiltifying our current code base.

Regards,
Christian


[0]
http://anonscm.debian.org/gitweb/?p=pkg-cron/pkg-cron.git;a=blob;f=debian/patches/features/run-on-reboot;h=94bab7dcbc4b34e4686385ca3ba3037453f1f4bb;hb=refs/heads/sf3

[1]
http://git.fedorahosted.org/git/?p=cronie.git;a=commitdiff;h=2abb46f60f496e2725333a86ade0f3913981761d




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ED00A68.4040606>