Re: [gentoo-dev] rfc: cron.* and modern cron implementations

2019-03-03 Thread Michael Orlitzky
On 3/2/19 9:01 PM, Rich Freeman wrote: > > So, the problem with cron.d is that you're now using crontab syntax, > and for compatibility you have to use the lowest common denominator > which is vixie. > > That means your jobs are STILL running as root, so the only problem > you had with run-parts

Re: [gentoo-dev] rfc: cron.* and modern cron implementations

2019-03-03 Thread Ralph Seichter
* Toralf Förster: > I'm not 100% but IMO for a desktop this seems works whereas @daily or > @weekly in crontab works only for systems running 24h per day, isn't > it? That depends on what flavour of cron is used (see https://en.wikipedia.org/wiki/Anacron). -Ralph

Re: [gentoo-dev] rfc: cron.* and modern cron implementations

2019-03-03 Thread Toralf Förster
On 3/3/19 1:05 AM, William Hubbs wrote: > /etc/cron.{hourly,daily,weekly,monthly} structure to run repeating cron jobs? I'm not 100% but IMO for a desktop this seems works whereas @daily or @weekly in crontab works only for systems running 24h per day, isn't it? -- Toralf PGP 23217DA7 9B888F45

Re: [gentoo-dev] rfc: cron.* and modern cron implementations

2019-03-02 Thread Rich Freeman
On Sat, Mar 2, 2019 at 8:25 PM Michael Orlitzky wrote: > > Using run-parts in /etc/crontab also has its problems, but I don't have > a solution handy for that one. Using run-parts runs those daily, weekly, > etc. jobs as root, which may not be what you want if you're operating on > user-controlled

Re: [gentoo-dev] rfc: cron.* and modern cron implementations

2019-03-02 Thread Michael Orlitzky
On 3/2/19 7:44 PM, Rich Freeman wrote: >> >> Totally. We should replace run-parts with something much simpler and >> more predictable. Then, if that doesn't work for you, all modern crons >> can do the things that run-parts tries to do, but better. >> > > I'm not sure I see the connection here. A

Re: [gentoo-dev] rfc: cron.* and modern cron implementations

2019-03-02 Thread Rich Freeman
On Sat, Mar 2, 2019 at 7:26 PM Michael Orlitzky wrote: > > On 3/2/19 7:05 PM, William Hubbs wrote: > > > > Is there a reason we still use run-parts and the > > /etc/cron.{hourly,daily,weekly,monthly} structure to run repeating cron > > jobs? > > > > From what I read in the chat earlier, it sounds

Re: [gentoo-dev] rfc: cron.* and modern cron implementations

2019-03-02 Thread Rich Freeman
On Sat, Mar 2, 2019 at 7:05 PM William Hubbs wrote: > > someone brought this up on the chat channel today, so I'm bringing it > here to ask for information. > > Is there a reason we still use run-parts and the > /etc/cron.{hourly,daily,weekly,monthly} structure to run repeating cron jobs? > > From

Re: [gentoo-dev] rfc: cron.* and modern cron implementations

2019-03-02 Thread Michael Orlitzky
On 3/2/19 7:05 PM, William Hubbs wrote: > > Is there a reason we still use run-parts and the > /etc/cron.{hourly,daily,weekly,monthly} structure to run repeating cron jobs? > > From what I read in the chat earlier, it sounds like the modern crons > might be able to handle this without that struct

[gentoo-dev] rfc: cron.* and modern cron implementations

2019-03-02 Thread William Hubbs
All, someone brought this up on the chat channel today, so I'm bringing it here to ask for information. Is there a reason we still use run-parts and the /etc/cron.{hourly,daily,weekly,monthly} structure to run repeating cron jobs? From what I read in the chat earlier, it sounds like the modern c