unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: "Clément Lassieur" <clement@lassieur.org>
To: Jone <yeger9@gmail.com>
Cc: help-guix <help-guix@gnu.org>
Subject: Re: Error with mcron-configuration
Date: Mon, 09 Jul 2018 20:14:13 +0200	[thread overview]
Message-ID: <87in5oi8ei.fsf@lassieur.org> (raw)
In-Reply-To: <CAH6o9V-FkxjkaYf=S5gwODQyaQHiznPGGOqLmVMZh=Gx3dy-Uw@mail.gmail.com>

Jone <yeger9@gmail.com> 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=10

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ément

      reply	other threads:[~2018-07-09 18:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-07  0:39 Error with mcron-configuration Jone
2018-07-07  1:40 ` Carlo Zancanaro
2018-07-07  7:22 ` Pierre Neidhardt
2018-07-07 22:25   ` Jone
2018-07-09 17:40     ` Jone
2018-07-09 18:14       ` Clément Lassieur [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87in5oi8ei.fsf@lassieur.org \
    --to=clement@lassieur.org \
    --cc=help-guix@gnu.org \
    --cc=yeger9@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).