From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id UEjaKKZR12U6owAA62LTzQ:P1 (envelope-from ) for ; Thu, 22 Feb 2024 14:52:38 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id UEjaKKZR12U6owAA62LTzQ (envelope-from ) for ; Thu, 22 Feb 2024 14:52:38 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; none Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DD3B29769 for ; Thu, 22 Feb 2024 14:52:34 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rd9Ub-0000oY-4i; Thu, 22 Feb 2024 08:52:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rd9US-0000la-Uu for help-guix@gnu.org; Thu, 22 Feb 2024 08:51:57 -0500 Received: from smtp-42ac.mail.infomaniak.ch ([2001:1600:4:17::42ac]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rd9UO-0007d0-8T for help-guix@gnu.org; Thu, 22 Feb 2024 08:51:56 -0500 Received: from smtp-4-0000.mail.infomaniak.ch (unknown [10.7.10.107]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4TgZLp2ftWzMqGxR; Thu, 22 Feb 2024 14:51:46 +0100 (CET) Received: from unknown by smtp-4-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4TgZLn6rxBzJ9N; Thu, 22 Feb 2024 14:51:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bioneland.org; s=20230804; t=1708609906; bh=yAwTGY8+nNTQo708Xv839bvFF1rhcKt2ZUtYNuhovpY=; h=References:Subject:From:To:In-Reply-To:Date:From; b=IHMhfGAxe2ktnzhELxXY/EWyJxPm5nfugY46TNbL9BvJj+WQNoLu0Ui/3P/jg/TlE F7O7ZwHYwuA7SSU31TJOZTqzj+KfjPozxboX4IB04keh7LpLT1vV5PwzjTMwN5/YX5 rizywdwnmvVYgHQPHEM+MhpGa4cazZ8IL8RilTpccAmuJsuY2a2NIYdcKeetHHxjAc UPpzZ2sRfIuN40Oas2K1Lbs7FjvDKghZxCKiiWoklgAAbkmqFX9sx373HFQbkUm8iZ oFP/L47HYc0g8lYbwhLSUXgu98k+ufJFymlgYb7oQ1xHsle8F5SUrpuqPa0oSZrtl1 gb0hK1mDK+O6g== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable References: <87bk89ee80.fsf@lease-up.com> <87v86g6e7s.fsf@zancanaro.id.au> <20240222133710.GD2086@beffara.org> Subject: Re: mcron service and PATH (was: Home service for mbsync?) From: Tanguy LE CARROUR To: Emmanuel Beffara , help-guix@gnu.org In-Reply-To: <20240222133710.GD2086@beffara.org> Date: Thu, 22 Feb 2024 14:51:45 +0100 Message-ID: <170860990545.24790.2720174894919691560@bioneland.org> User-Agent: alot/0.10 X-Infomaniak-Routing: alpha Received-SPF: pass client-ip=2001:1600:4:17::42ac; envelope-from=tanguy@bioneland.org; helo=smtp-42ac.mail.infomaniak.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -4.00 X-Spam-Score: -4.00 X-Migadu-Queue-Id: DD3B29769 X-TUID: g9VtcCvDKOX3 Hi Emmanuel, Quoting Emmanuel Beffara (2024-02-22 13:37:10) > De Carlo Zancanaro le 22/02/2024 =C3=A0 10:27: > > On Wed, Feb 21 2024, Felix Lechner via wrote: > > > Does anyone have an 'mbsync' home service, please? Thanks! > > I just run mbsync as an mcron service. I have a custom script, because I > > do some weird stuff to update my mu index afterwards, but it shouldn't > > be hard to figure out how to call mbsync directly. > >=20 > > In my home services I have this: > >=20 > > (simple-service 'mail-update-script > > home-mcron-service-type > > ;; Update email every five minutes. > > (list #~(job '(next-minute '(0 5 10 15 20 25 30 35 4= 0 45 50 55)) > > "/home/carlo/.local/bin/fetch-mail"))) > >=20 > > Obviously this doesn't handle configuring mbsync, which I do outside of > > my home configuration. > [=E2=80=A6] > I recently noticed an issue with that: it seems that the command in the m= cron > job is called with an incomplete PATH. Yes, indeed. The "problem" was discussed, among other places, here: . Long story short: I decided to put (or inject) the full path in all my config files. --=20 Tanguy