help-guix
[Top][All Lists]
Advanced

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

Re: mcron job with cd to directory?


From: Clément Lassieur
Subject: Re: mcron job with cd to directory?
Date: Wed, 17 May 2017 23:01:03 +0200
User-agent: mu4e 0.9.18; emacs 25.2.1

ng0 <address@hidden> writes:

> Ludovic Courtès transcribed 0.9K bytes:

>> Something like:
>> 
>>   #~(job '(next-hour '(4))
>>           (lambda ()
>>             (chdir …)
>>             (system* …)))
>> 
>> See 
>> <https://www.gnu.org/software/guix/manual/html_node/Scheduled-Job-Execution.html>.
>> 
>> Ludo’.
>> 
>
> Thanks! This fixed at least the respawn-death of mcron. Now I just have to
> see if it does what I want.

I have found the '--schedule' option of mcron very useful for debugging.
Maybe it'll help you to see if it does what you want.

> But it's good to know that it is that easy.



reply via email to

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