On 10/29/2017 07:46 AM, Remy Blank wrote:
> 
> I attached a patch to the bug, but considering how old the bug is, and
> from the tone of the discussion there, I have little hope that it gets
> applied. If you would like to see this fixed, it may be worth chiming in
> on the bug. Or if you're a kind Gentoo developer listening to affected
> users, to take action.
> 

If only it were that easy. First: vapier is the only member of the cron
project, and he's happy with the way cronbase works.

And then the real issue: no one knows what our cronbase is doing, and it
does whatever it does all wrong -- but some people are probably relying
on it. My proposal was to make cronbase stupider, with something like

  9  5  * * *   root   find /etc/cron.daily -execdir '{}' \;

That says: run everthing in cron.daily[0], every day, at 05:09. It does
exactly that: it has DST issues, if your machine is off the jobs won't
run, etc. But it's predictably stupid and works as advertised, unlike
the run-crons shell script we have now.

Do you need something smarter? Install anacron, fcron, cronie, or
whatever. But the worst thing we can do is try to mimic those
intelligent crons and have it fail to do so randomly. That's still your
best option, by the way: rewrite your crontab to avoid run-crons, and
install a smart cron implementation that does what you want.



[0] In practice, you would want to pass "-type f", "-executable", and
"-maxdepth 1" to the "find" command as well.

Reply via email to