bug-mcron
[Top][All Lists]
Advanced

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

Re: next-week documented but not implemented


From: Maxim Cournoyer
Subject: Re: next-week documented but not implemented
Date: Mon, 20 Mar 2023 22:05:08 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Hello,

Dale Mellor <no-reply@rdmp.org> writes:

> Akira:
>
>>>  I've been transitioning to guix and was trying to setup some 
>>>  automatic backup scripts at daily, weekly, and monthly 
>>>  intervals. However, it seems while the documentation lists 
>>>  'next-week' and 'next-week-from' as valid functions to specify the 
>>>  job interval, it appears that they are not implemented. It would 
>>>  be great to have such functions available. In the meantime 
>>>  '(next-day '(1 8 15 22 29))' seems like it'll be sufficient for my 
>>>  purposes.
>
> Efraim:
>
>>>  'next-week-from' and 'next-week' are documented in doc/mcron.texi,
> but
>>>  in (src mcron job-specifier) neither is implemented.
>
>
>    Having given this some thought, I've come to the conclusion that
> there are too many ambiguities to implement this function (what is
> 'next week': seven days from now, the start of the day seven days from
> now, next Sunday, next Monday, ...?)  So I have removed the existing
> references from the documentation, and added a section to the extended
> examples chapter explaining how variants of weekly behaviour can be
> achieved.

It sounds reasonable!  Thank you for addressing that documentation
problem.

-- 
Maxim



reply via email to

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