NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/45453: add /etc/cron.d functionality
The following reply was made to PR bin/45453; it has been noted by GNATS.
From: Matthew Mondor <mm_lists%pulsar-zone.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: bin/45453: add /etc/cron.d functionality
Date: Tue, 11 Oct 2011 22:58:38 -0400
On Wed, 12 Oct 2011 02:15:01 +0000 (UTC)
mspo%netbsd.org@localhost wrote:
> I would like to see supported added for /etc/cron.d to our cron, as found in
> linux.
Thanks for the diff,
Would the main use of cron.d be for packages to be able to add cron
events?
In which case, packages could come with defaults provided
in /etc/pkg/cron.d/ which the admin would manually copy to /etc/cron.d/
if wanted, just like for rc.d scripts? Currently packages that need
scheduled events can only tell the admin to install one via a message.
It would probably be necessary for those files to specify under which
user privileges the script should run as.
Another alternative might be to instead use /usr/pkg/etc/cron.d/ and
have cron also load those, but I guess that this might be too automatic
for some admin security expectations.
I guess that tech-pkg could be a good place to discuss this issue
further.
If it's for use by the admin only, I don't object but also don't
understand the requirement...
Thanks,
--
Matt
Home |
Main Index |
Thread Index |
Old Index