From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Cl=C3=A9ment?= Lassieur Subject: Re: Error with mcron-configuration Date: Mon, 09 Jul 2018 20:14:13 +0200 Message-ID: <87in5oi8ei.fsf@lassieur.org> References: <87fu0vse6e.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52823) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fcag5-00048p-Af for help-guix@gnu.org; Mon, 09 Jul 2018 14:14:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fcag0-000487-94 for help-guix@gnu.org; Mon, 09 Jul 2018 14:14:25 -0400 Received: from mail.lassieur.org ([83.152.10.219]:34510) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fcafz-00047U-VV for help-guix@gnu.org; Mon, 09 Jul 2018 14:14:20 -0400 In-reply-to: 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: Jone Cc: help-guix Jone writes: > *> But only it still does not work!* > > With current system version all Ok: > > #> sudo herd status mcron > Status of mcron: > It is started. > Running value is 298. > It is enabled. > Provides (mcron). > Requires (user-processes). > Conflicts with (). > Will be respawned. > > ps ax | grep mcron > 298 ? Ssl 0:00 > /gnu/store/9dl8l4krszdd1dhaw94da0nv28ap8dvp-mcron-1.1.1/bin/mcron > /gnu/store/vvf3frpvrffpchbd3xxlq8kmnxsywja6-mcron-job > /gnu/store/jv9asgfm82f6k7srwxy6bf9ckk70z270-mcron-job > /gnu/store/n4jbzmm6ihv70dd8j2ba9501hxs3q9ar-mcron-job > /gnu/store/2yql34psrh6iiyczs48hj7pw5bgv6gh6-mcron-job > 722 pts/0 S+ 0:00 grep mcron Hi Jone, The --schedule option will help you debugging it. You can do for example: /gnu/store/9dl8l4krszdd1dhaw94da0nv28ap8dvp-mcron-1.1.1/bin/mcron \ /gnu/store/vvf3frpvrffpchbd3xxlq8kmnxsywja6-mcron-job \ /gnu/store/jv9asgfm82f6k7srwxy6bf9ckk70z270-mcron-job \ /gnu/store/n4jbzmm6ihv70dd8j2ba9501hxs3q9ar-mcron-job \ /gnu/store/2yql34psrh6iiyczs48hj7pw5bgv6gh6-mcron-job --schedule=3D10 It will compute the times the commands would be run and prints the information to the screen, and then immediately exits. See https://www.gnu.org/software/mcron/manual/mcron.html#Invoking-mcron. Cl=C3=A9ment