From: Michael Orlitzky <mjo@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] rfc: cron.* and modern cron implementations
Date: Sat, 2 Mar 2019 20:25:59 -0500 [thread overview]
Message-ID: <48d49f64-0fe6-af86-9fe8-5f754371b489@gentoo.org> (raw)
In-Reply-To: <CAGfcS_nyW0aOcnu4uLhBnwZ3GfMtMF+wf7eiGOLMypBe_gSzWw@mail.gmail.com>
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. All run-parts does is run all
> the scripts in a directory. That seems pretty simple and
> deterministic.
>
Oof, yeah, sorry. I thought we were talking about *run-crons* and not
*run-parts*. We should get rid of *run-crons*, which is installed by
cronbase and used by vixie-cron, fcron, bcron, and dcron (according to
grep).
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 data (e.g. bug 662438). The best way to solve this would
be to let packages install their own crontab entries into a directory
like /etc/cron.d, but that location isn't standard.
next prev parent reply other threads:[~2019-03-03 1:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-03 0:05 [gentoo-dev] rfc: cron.* and modern cron implementations William Hubbs
2019-03-03 0:26 ` Michael Orlitzky
2019-03-03 0:44 ` Rich Freeman
2019-03-03 1:25 ` Michael Orlitzky [this message]
2019-03-03 2:01 ` Rich Freeman
2019-03-03 15:18 ` Michael Orlitzky
2019-03-03 0:27 ` Rich Freeman
2019-03-03 9:26 ` Toralf Förster
2019-03-03 15:00 ` Ralph Seichter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48d49f64-0fe6-af86-9fe8-5f754371b489@gentoo.org \
--to=mjo@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox