all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emmanuel Beffara <manu@beffara.org>
To: Tanguy LE CARROUR <tanguy@bioneland.org>
Cc: help-guix@gnu.org
Subject: Re: mcron service and PATH (was: Home service for mbsync?)
Date: Thu, 22 Feb 2024 15:05:08 +0100	[thread overview]
Message-ID: <20240222150508.GO2086@beffara.org> (raw)
In-Reply-To: <170860990545.24790.2720174894919691560@bioneland.org>

Hi,

De Tanguy LE CARROUR le 22/02/2024 à 14:51:
> Quoting Emmanuel Beffara (2024-02-22 13:37:10)
> > I recently noticed an issue with that: it seems that the command in the mcron
> > job is called with an incomplete PATH.
> 
> Yes, indeed.
> 
> The "problem" was discussed, among other places, here:
> <https://lists.gnu.org/archive/html/help-guix/2024-01/msg00091.html>.

Ha. I did receive this thread but didn't read it enough to realize this was
actually the cause of my problem (symptom: mail was not fetched automatically
anymore, it turns out the reasons were essentially the same as in your case).

> Long story short: I decided to put (or inject) the full path in all my
> config files.

My current fix is to prefix the job command with “source ~/.profile;” and keep
the config files otherwise unchanged.

Thanks !

-- 
Emmanuel


  reply	other threads:[~2024-02-22 14:14 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 [this message]
2024-02-22 14:17     ` Felix Lechner via
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=20240222150508.GO2086@beffara.org \
    --to=manu@beffara.org \
    --cc=help-guix@gnu.org \
    --cc=tanguy@bioneland.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.