* bug#40499: mcron missing initial directories?
@ 2020-04-07 22:35 Danny Milosavljevic
2020-04-08 9:55 ` Ludovic Courtès
0 siblings, 1 reply; 5+ messages in thread
From: Danny Milosavljevic @ 2020-04-07 22:35 UTC (permalink / raw)
To: 40499
[-- Attachment #1: Type: text/plain, Size: 274 bytes --]
$ 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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#40499: mcron missing initial directories?
2020-04-07 22:35 bug#40499: mcron missing initial directories? Danny Milosavljevic
@ 2020-04-08 9:55 ` Ludovic Courtès
2020-04-09 20:39 ` Efraim Flashner
0 siblings, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2020-04-08 9:55 UTC (permalink / raw)
To: Danny Milosavljevic; +Cc: 40499
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.
Ludo’.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#40499: mcron missing initial directories?
2020-04-08 9:55 ` Ludovic Courtès
@ 2020-04-09 20:39 ` Efraim Flashner
2020-04-10 8:27 ` Ludovic Courtès
0 siblings, 1 reply; 5+ messages in thread
From: Efraim Flashner @ 2020-04-09 20:39 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 40499
[-- Attachment #1: Type: text/plain, Size: 847 bytes --]
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 or does the mere existence of
the files allow cron tasks to start working?
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#40499: mcron missing initial directories?
2020-04-09 20:39 ` Efraim Flashner
@ 2020-04-10 8:27 ` Ludovic Courtès
2021-08-24 3:48 ` Maxim Cournoyer
0 siblings, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2020-04-10 8:27 UTC (permalink / raw)
To: Efraim Flashner; +Cc: 40499
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.
Ludo’.
^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#40499: mcron missing initial directories?
2020-04-10 8:27 ` Ludovic Courtès
@ 2021-08-24 3:48 ` Maxim Cournoyer
0 siblings, 0 replies; 5+ messages in thread
From: Maxim Cournoyer @ 2021-08-24 3:48 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 40499-done
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-08-24 3:50 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-07 22:35 bug#40499: mcron missing initial directories? Danny Milosavljevic
2020-04-08 9:55 ` Ludovic Courtès
2020-04-09 20:39 ` Efraim Flashner
2020-04-10 8:27 ` Ludovic Courtès
2021-08-24 3:48 ` Maxim Cournoyer
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.