From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id mEAmOL9X12VwyAAAqHPOHw:P1 (envelope-from ) for ; Thu, 22 Feb 2024 15:18:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id mEAmOL9X12VwyAAAqHPOHw (envelope-from ) for ; Thu, 22 Feb 2024 15:18:40 +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 27CFC3D366 for ; Thu, 22 Feb 2024 15:18:02 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rd9tH-0002xr-QA; Thu, 22 Feb 2024 09:17:35 -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 1rd9tC-0002ws-65 for help-guix@gnu.org; Thu, 22 Feb 2024 09:17:30 -0500 Received: from sail-ipv4.us-core.com ([208.82.101.137]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1rd9t8-0004rG-UE for help-guix@gnu.org; Thu, 22 Feb 2024 09:17:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=Vpl2YDXROb9FqOQ M57nOB6zlM1/ULpYDb+uYXFtHpfQ=; h=date:references:in-reply-to:subject: cc:to:from; d=lease-up.com; b=dkntlRCZPzVAQ4Hbc8PGbrCSq52A1QZN+FaqYEha GHKez4nFzXwTxUrkR/1y23CqndhfpakSTCVihr0eaAE0awd+Z8rcKBkKemcCcEAysMCJuH br6kFPpxDjpoIfGTZplorN6KB8ZPCgTaDdsiQeF86SBE9h1ummYiXwtnmJbhI= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id a9002a18 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Thu, 22 Feb 2024 14:17:23 +0000 (UTC) To: Emmanuel Beffara , help-guix@gnu.org Cc: Subject: Re: mcron service and PATH (was: Home service for mbsync?) In-Reply-To: <20240222133710.GD2086@beffara.org> References: <87bk89ee80.fsf@lease-up.com> <87v86g6e7s.fsf@zancanaro.id.au> <20240222133710.GD2086@beffara.org> Date: Thu, 22 Feb 2024 06:17:23 -0800 Message-ID: <87sf1kd1n0.fsf@lease-up.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=208.82.101.137; envelope-from=felix.lechner@lease-up.com; helo=sail-ipv4.us-core.com 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_NONE=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: , Reply-to: Felix Lechner From: Felix Lechner via Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -4.00 X-Spam-Score: -4.00 X-Migadu-Queue-Id: 27CFC3D366 X-Migadu-Scanner: mx11.migadu.com X-TUID: XV//ur0yur/7 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