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 Sporleder (mspo.com)" <mspo%mspo.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost, 
mspo%netbsd.org@localhost
Subject: Re: bin/45453: add /etc/cron.d functionality
Date: Tue, 11 Oct 2011 23:20:58 -0400

 >  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.
 >  
 
 That is definitely a use-case that I had not considered.
 
 My primary use-case is that it's easier for me to script/automate flat files
 than write parsers for the existing crontabs.
 
 It's a convenience and has a side benefit of linux compatibility.
 


Home | Main Index | Thread Index | Old Index