[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#40499: mcron missing initial directories?
From: |
Ludovic Courtès |
Subject: |
bug#40499: mcron missing initial directories? |
Date: |
Fri, 10 Apr 2020 10:27:44 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hi,
Efraim Flashner <address@hidden> skribis:
> On Wed, Apr 08, 2020 at 11:55:05AM +0200, Ludovic Courtès wrote:
>> Hi Danny,
>>
>> Danny Milosavljevic <address@hidden> skribis:
>>
>> > $ crontab -e
>> >
>> > In unknown file:
>> > 0 (copy-file "/tmp/crontab.10313" "/var/cron/tabs/dannym")
>> >
>> > ERROR: In procedure copy-file:
>> > In procedure copy-file: No such file or directory
>> >
>> > /var/cron doesn't exit either. Maybe we should automatically create
>> > /var/cron ?
>>
>> Yes, this should be done in an activation snippet.
>>
>
> Should this be part of a crontab service
That’s what I had in mind.
> or does the mere existence of the files allow cron tasks to start
> working?
Good question. Actually I think the crontab compatibility bit is rather
separate in mcron: AIUI, you have to run ‘crond’, not ‘mcron’, if you
want that to get that functionality (info "(mcron) Invoking cron or
crond").
So perhaps all this is moot unless/until we have an mcron-crond service.
Ludo’.