emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#40499: closed (mcron missing initial directories?)


From: GNU bug Tracking System
Subject: bug#40499: closed (mcron missing initial directories?)
Date: Tue, 24 Aug 2021 03:50:01 +0000

Your message dated Mon, 23 Aug 2021 23:48:59 -0400
with message-id <87k0kbtsd0.fsf@gmail.com>
and subject line Re: bug#40499: mcron missing initial directories?
has caused the debbugs.gnu.org bug report #40499,
regarding mcron missing initial directories?
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
40499: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=40499
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: mcron missing initial directories? Date: Wed, 8 Apr 2020 00:35:03 +0200
$ 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 ?

Attachment: pgpXkMzgAeXlr.pgp
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message --- Subject: Re: bug#40499: mcron missing initial directories? Date: Mon, 23 Aug 2021 23:48:59 -0400 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Hello,

Ludovic Courtès <ludo@gnu.org> writes:

> Hi,
>
> Efraim Flashner <efraim@flashner.co.il> skribis:
>
>> On Wed, Apr 08, 2020 at 11:55:05AM +0200, Ludovic Courtès wrote:
>>> Hi Danny,
>>> 
>>> Danny Milosavljevic <dannym@scratchpost.org> 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.

I think so.  And since Dale Mellor, the original author of GNU Mcron
advises to keep the crond service per-user rather than for the system
[0], if we want a crond service it seems we should turn ourselves to
Guix Home.

Closing.

[0]  https://issues.guix.gnu.org/40950#5


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]