Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Aug 2013 18:11:04 -0400
From:      Darren Pilgrim <list_freebsd@bluerosetech.com>
To:        FreeBSD Hackers <freebsd-hackers@freebsd.org>
Subject:   Re: weekly periodic security status
Message-ID:  <521BD278.80007@bluerosetech.com>
In-Reply-To: <20130826210906.GO24767@caravan.chchile.org>
References:  <20130822204958.GC24767@caravan.chchile.org> <5217AD9E.1000100@bluerosetech.com> <CA%2BE3k910-BqOdDtA9sWTxVuKxtJSS02w4PSeTmM%2BJxPqNQ5Jyw@mail.gmail.com> <20130824165704.GD24767@caravan.chchile.org> <20130825110520.GJ24767@caravan.chchile.org> <521A34A2.303@bluerosetech.com> <20130825173715.GK24767@caravan.chchile.org> <521B826A.6020402@bluerosetech.com> <20130826210906.GO24767@caravan.chchile.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/26/2013 5:09 PM, Jeremie Le Hen wrote:
> On Mon, Aug 26, 2013 at 12:29:30PM -0400, Darren Pilgrim wrote:
>> The new framework would let me rely on the environment instead of $0,
>> which, IMO, is more reliable.  I'd need to be able to tell periodic to
>> run that script with the daily, weekly and monthly security runs, though.
>
> If I understand what you say correctly, this should continue to work.

As I understand the framework, I can only set the enable to "NO", 
"daily", "weekly" or "monthly".  Periodic will only run it one of the 
periods.  How would I set it to run in all three?  How would I set to 
run in only two of the three periods?

It seems like you could add this functionality by adding stars to each 
end of the case patterns in check_yesno_period.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?521BD278.80007>