[systemd-devel] [PATCH] TODO: timer unit generation

Kay Sievers kay at vrfy.org
Wed Apr 17 15:33:41 PDT 2013


On Thu, Apr 18, 2013 at 12:30 AM, Josh Triplett <josh at joshtriplett.org> wrote:
> On Thu, Apr 18, 2013 at 12:15:22AM +0200, Kay Sievers wrote:
>> On Thu, Apr 18, 2013 at 12:11 AM, Josh Triplett <josh at joshtriplett.org> wrote:
>> > On Thu, Apr 18, 2013 at 12:04:24AM +0200, Kay Sievers wrote:
>> >> On Wed, Apr 17, 2013 at 11:50 PM, Josh Triplett <josh at joshtriplett.org> wrote:
>> >>
>> >> > +  - unit generator for compatibility with crontab and cron.d
>> >>
>> >> We kind of decided to port the 40-60 things that use the .d/ dirs to
>> >> native units right away, and leave cron as it is, and not parse its
>> >> config files from systemd.
>> >>
>> >> If people want cron, they should install it; new or common stuff
>> >> should just not pull it in anymore. The default install should not
>> >> require it.
>> >
>> > I figured this fell in the general area of "wouldn't do it ourselves,
>> > but would probably take a clean patch", which seemed like a good use of
>> > TODO.
>>
>> Not really, we cannot or don't want to cover all of cron, so cron
>> stays around anyway for the grey beards, or existing things out there.
>
> As far as I can tell, timer units already support almost everything
> crontabs do; the problem then just becomes a format parser and unit
> generator.

Yeah, if you have a hammer ... :)

The thing is that there are cron features we cannot support at the
moment, and then there are ones the we do not want to support, so we
cannot really fully replace it. Hence we decided to get it out of the
common use, leave it as it is, instead of pretending we can take it
over.

Kay


More information about the systemd-devel mailing list