From owner-freebsd-arch@FreeBSD.ORG Fri Jun 13 07:05:02 2014 Return-Path: Delivered-To: freebsd-arch@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 592118EE for ; Fri, 13 Jun 2014 07:05:02 +0000 (UTC) Received: from mail-qa0-x233.google.com (mail-qa0-x233.google.com [IPv6:2607:f8b0:400d:c00::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1485C2901 for ; Fri, 13 Jun 2014 07:05:01 +0000 (UTC) Received: by mail-qa0-f51.google.com with SMTP id j7so1734695qaq.10 for ; Fri, 13 Jun 2014 00:05:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=CmA9wNtJ3TUUaSwethiOTDPH7HloN6NqlcxDwwUep78=; b=PW4XVo91s0nVhtlwSQchv3JGhzqkK2Mv5rIWOGGg4AHdfAH7xhbG5pRhv5xGQLpTPq 6767FyJF0LDVQkhkuqOV+InhiRODSFnnciRhWZRh0lsl+DKVNVEGWJnr5eWjH35fZFc0 tNizOPzAVZx98CjJtxlvzS+zjBJtydjX4FyoQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=CmA9wNtJ3TUUaSwethiOTDPH7HloN6NqlcxDwwUep78=; b=W4ac8mf09eM5xfyDdT1qrWs19tPih//la1R9ZU8xuMsN2DeBaz0kOrjH0rstL2VklG 68RXhqagMfWniD06zJ3zo9ROKuSBKkLfBq4/igoPPrztFkgI0ey+i8mwpgBQntCHq1LP GNDpcEwjm1tRPvOkRHjw4VIfks1dgoUcSFHGm7FfsBtpXNzetV0ik1E2aq302QARM1TD n3XvQcqmMLm8+EhhFtY5NAFYpltC6m7kAZhlU58X7l2AF7AfYWXHMTJdxvFfW/v9jqiG oA9QCYjBxRr2GLgSfI66DGWtubk6aszC0NpQWIc8DdgL3wtRY6MqzrEjZkgk3ZwTlfx6 mZUA== X-Gm-Message-State: ALoCoQlm6YoCWjL8EBC0Uvn60pwwd1oF/NjQ9kVbkDAEraD5b6F1ISB5HnFay9RvZuFUrFj3HpUI X-Received: by 10.224.135.132 with SMTP id n4mr920040qat.23.1402643101064; Fri, 13 Jun 2014 00:05:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.96.222.131 with HTTP; Fri, 13 Jun 2014 00:04:30 -0700 (PDT) In-Reply-To: References: From: Eitan Adler Date: Fri, 13 Jun 2014 00:04:30 -0700 Message-ID: Subject: Re: Improve cron(8) To: =?UTF-8?Q?Tomek_Wa=C5=82aszek?= , freebsd-arch@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2014 07:05:02 -0000 +arch since hackers@ seems to be silent. On 11 June 2014 23:56, Tomek Wa=C5=82aszek wrote: > Hello, > I saw on the FreeBSD Ideas page topic about cron :). > I've started updating the 'original' FreeBSD cron from sources to vixi cr= on > 4.1. I think (well I hope :P) most of the features that were done in > FreeBSD cron are now ported into vixi cron 4.1, there are unfortunately > some missing features at the moment: > - @every_second - this need to be done > - -s and -o, in vixi cron 4.1 daylight time switches are enabled by > default, at the moment there is no -s and -o options. So you need to remo= ve > '-s' from the cron rc script > > I've also added one feature from OpenBSD, crontab is poking cron using > unix-domain socket so we don't need to have suid on crontab. > > Path is in the attachment. I'm testing it on my FreeBSD box and it looks > good but anyway don't try it on production machines :). > > After the installation we have to do a few things: > - Add crontab group > - Change group to crontab on /var/cron/tabs > - Add sticky bit on /var/cron/tabs > - Add group write permissions on /var/cron/tabs > > This is still work in progress but if someone could have a look on this a= nd > give me some feedback it would be great. > > Regards, > Tomasz Walaszek > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org= " --=20 Eitan Adler