From owner-freebsd-current@FreeBSD.ORG Tue Nov 5 17:38:03 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 84AE42B2 for ; Tue, 5 Nov 2013 17:38:03 +0000 (UTC) (envelope-from lifanov@mail.lifanov.com) Received: from mail.lifanov.com (mail.lifanov.com [206.125.175.12]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6DCB22889 for ; Tue, 5 Nov 2013 17:38:03 +0000 (UTC) Received: from [10.1.3.5] (cnet520-windstream.mcclatchyinteractive.com [166.108.16.2]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.lifanov.com (Postfix) with ESMTPSA id AA4141A5576; Tue, 5 Nov 2013 12:37:56 -0500 (EST) Message-ID: <52792CF3.9050104@mail.lifanov.com> Date: Tue, 05 Nov 2013 12:37:55 -0500 From: Nikolai Lifanov User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Allan Jude , FreeBSD Current Subject: Re: cron(8) improvement References: <52792B60.1030309@allanjude.com> In-Reply-To: <52792B60.1030309@allanjude.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Nov 2013 17:38:03 -0000 On 11/05/13 12:31, Allan Jude wrote: > This came up in discussion on IRC and I thought I should throw it at the > list so I don't forget. > > A user was asking how to do what linux cron does, where there is a > directory /etc/cron.d/ that packages and add files to to create crontabs. > > Making FreeBSD's cron (Vixie Cron) include /etc/cron.d/ and > /usr/local/etc/cron.d/ in the /etc/crontab format seems like a very > useful feature, especially for pkg(8) as it makes it easy and safe to > programatically add and remove crontabs as part of a package. > > Shouldn't we encourage packages to use periodic(8) when possible? - Nikolai Lifanov