[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Error with mcron-configuration
From: |
Clément Lassieur |
Subject: |
Re: Error with mcron-configuration |
Date: |
Mon, 09 Jul 2018 20:14:13 +0200 |
User-agent: |
mu4e 1.0; emacs 26.1 |
Jone <address@hidden> 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