From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Cl=C3=A9ment?= Lassieur Subject: Re: mcron job with cd to directory? Date: Wed, 17 May 2017 23:01:03 +0200 Message-ID: <87d1b7fbao.fsf@lassieur.org> References: <20170517131206.5dt6bv4fyglvxcrn@abyayala> <87bmqruu69.fsf@gnu.org> <20170517201513.n7okibmk45uujo2k@abyayala> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37610) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dB64G-0004tB-4R for help-guix@gnu.org; Wed, 17 May 2017 17:01:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dB64B-0005ST-BB for help-guix@gnu.org; Wed, 17 May 2017 17:01:12 -0400 In-reply-to: <20170517201513.n7okibmk45uujo2k@abyayala> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: ng0 Cc: help-guix@gnu.org ng0 writes: > Ludovic Courtès transcribed 0.9K bytes: >> Something like: >> >> #~(job '(next-hour '(4)) >> (lambda () >> (chdir …) >> (system* …))) >> >> See . >> >> 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.