From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,NICE_REPLY_A autolearn=ham autolearn_force=no version=3.4.4 Received: from alyss.skarnet.org (alyss.skarnet.org [95.142.172.232]) by inbox.vuxu.org (Postfix) with SMTP id 599BE30652 for ; Thu, 5 Dec 2024 22:43:05 +0100 (CET) Received: (qmail 31000 invoked by uid 89); 5 Dec 2024 21:43:31 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Received: (qmail 30993 invoked from network); 5 Dec 2024 21:43:31 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freesa.org; s=20240917; t=1733434976; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=L0bje+K1BZRT5SqD3qkd7txY6wQXuc2b5mSLFd4A1Os=; b=BTAUrfFqh7m8/j6XEIc0S/7vACsLw/YSEvjOO/fx2KAY1V2y4xfQtNX7SivF2m9jTNCEIF 0QNfwBG2Cijw4zAaBVg2cmQHgKBsXUioQVq6X0C5UjtORrmsRPvsLUQr8J6lNDtPVBKlNt kxW9pAchzmxRzcadkWwOPsRxKkubU1w= Date: Thu, 5 Dec 2024 15:42:51 -0600 From: "Brett Neumeier via supervision" Reply-To: Brett Neumeier To: Paul Sopka Cc: supervision@list.skarnet.org, Laurent Bercot Subject: Re: Have an external script wait for a oneshot service Message-Id: <20241205154251.57f50904db9b057dd9e5807e@freesa.org> In-Reply-To: References: <20241204140015.4e635037306d88117e053994@freesa.org> <2571a89b-ac74-4d9e-b8c6-ff0fe05cebb7@sopka.ch> <20241204141821.ee2a00c996c948f2feb42dec@freesa.org> <4faed412-6fc0-4833-8f76-b6a74667c869@sopka.ch> <3d1391e4-b240-4675-a839-a34c39d474b3@sopka.ch> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Thu, 5 Dec 2024 22:10:17 +0100 Paul Sopka wrote: > - B=A0=A0=A0=A0 Imagine the following scenario: >=20 > =A0=A0=A0 =A0=A0=A0=A0=A0 A user wants to run a script every day at 12:0= 0 and sets up a=20 > snooze user-longrun for that, > =A0=A0=A0 =A0=A0=A0 =A0 which he installs and starts using s6-rc-init an= d s6-rc=20 > respectively while logged in, > =A0=A0=A0 =A0=A0=A0 =A0 but logically does not stop on logout. Is there a reason that the user would not simply set up a cron job to run t= he script every day at noon? I mean, obviously, s6-rc services are way sexier than crontab entries, but = cron jobs have been working fine for decades and if you want to run a scrip= t on a specific schedule, why not just ... use the tools you have? --=20 Brett Neumeier