From: Felix Lechner via <help-guix@gnu.org>
To: Emmanuel Beffara <manu@beffara.org>, help-guix@gnu.org
Subject: Re: mcron service and PATH (was: Home service for mbsync?)
Date: Thu, 22 Feb 2024 06:17:23 -0800 [thread overview]
Message-ID: <87sf1kd1n0.fsf@lease-up.com> (raw)
In-Reply-To: <20240222133710.GD2086@beffara.org>
Hi,
> you can find it here
> I've attached my mbsync service
> I just run mbsync as an mcron service.
> +1! I also run it using mcron.
> In my home services I have this:
> I'm doing something similar
First off, thanks for all your responses so far!
On Thu, Feb 22 2024, Emmanuel Beffara wrote:
> the command in the mcron job is called with an incomplete PATH.
Has anyone noticed a similar PATH issue with system Mcron jobs? I have
to do this inside my Mcron jobs:
(setenv "PATH"
(string-join (list "/run/setuid-programs" (getenv "PATH")) ":"))
Otherwise, the setuid copies of my executables like 'sendmail' are not
available in Mcron jobs.
Also, while I have your attention, my fellow Mcron aficionados, please
feel free to check out this little issue. [1] There goes another
afternoon...
Kind regards
Felix
[1] https://lists.gnu.org/archive/html/bug-mcron/2023-12/msg00001.html
next prev parent reply other threads:[~2024-02-22 14:18 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-21 20:47 Home service for mbsync? Felix Lechner via
2024-02-21 20:59 ` Aleksandr Vityazev
2024-02-22 8:03 ` Saku Laesvuori
2024-02-22 8:05 ` Efraim Flashner
2024-02-22 9:27 ` Carlo Zancanaro
2024-02-22 9:59 ` Tanguy LE CARROUR
2024-02-22 12:37 ` mcron service and PATH (was: Home service for mbsync?) Emmanuel Beffara
2024-02-22 13:51 ` Tanguy LE CARROUR
2024-02-22 14:05 ` Emmanuel Beffara
2024-02-22 14:17 ` Felix Lechner via [this message]
2024-02-22 10:15 ` Home service for mbsync? Miguel Ángel Moreno
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sf1kd1n0.fsf@lease-up.com \
--to=help-guix@gnu.org \
--cc=felix.lechner@lease-up.com \
--cc=manu@beffara.org \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.