supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: "Brett Neumeier via supervision" <supervision@list.skarnet.org>
To: Paul Sopka <psopka@sopka.ch>
Cc: supervision@list.skarnet.org,
	Laurent Bercot <ska-supervision@skarnet.org>
Subject: Re: Have an external script wait for a oneshot service
Date: Thu, 5 Dec 2024 15:42:51 -0600	[thread overview]
Message-ID: <20241205154251.57f50904db9b057dd9e5807e@freesa.org> (raw)
In-Reply-To: <d7f683c7-b553-4297-91d9-3abe5f5c2c7b@sopka.ch>

On Thu, 5 Dec 2024 22:10:17 +0100
Paul Sopka <psopka@sopka.ch> wrote:
> - B     Imagine the following scenario:
> 
>            A user wants to run a script every day at 12:00 and sets up a 
> snooze user-longrun for that,
>            which he installs and starts using s6-rc-init and s6-rc 
> respectively while logged in,
>            but logically does not stop on logout.

Is there a reason that the user would not simply set up a cron job to run the 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 script on a specific schedule, why not just ... use the tools you have?

-- 
Brett Neumeier <random@freesa.org>

  reply	other threads:[~2024-12-05 21:43 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-04 15:28 Paul Sopka
2024-12-04 15:38 ` Charles Cazabon via supervision
2024-12-04 17:12   ` Paul Sopka
2024-12-04 21:47     ` Hoël Bézier
2024-12-04 20:00 ` Brett Neumeier via supervision
2024-12-04 20:05   ` Paul Sopka
2024-12-04 20:18     ` Brett Neumeier via supervision
2024-12-04 20:59       ` Paul Sopka
2024-12-04 21:58         ` Re[2]: " Laurent Bercot
2024-12-05  5:59           ` Tanuj Bagaria
2024-12-05  6:54           ` Paul Sopka
2024-12-05  8:05             ` Re[2]: " Laurent Bercot
2024-12-05 13:52               ` Paul Sopka
2024-12-05 19:44                 ` Re[2]: " Laurent Bercot
2024-12-05 21:10                   ` Paul Sopka
2024-12-05 21:42                     ` Brett Neumeier via supervision [this message]
2024-12-06  5:32                       ` Paul Sopka
2024-12-05 23:03                     ` Re[2]: " Laurent Bercot
2024-12-06 12:41                       ` Paul Sopka
2024-12-06 15:43                         ` Re[2]: " Laurent Bercot
2024-12-06 16:11                           ` Hoël Bézier
2024-12-06 17:14                           ` Paul Sopka
2024-12-07 23:46                           ` Jan Braun
2024-12-05 21:24                   ` Jan Braun
2024-12-05 23:15                     ` Re[2]: " Laurent Bercot
2024-12-04 20:09   ` Tanuj Bagaria

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=20241205154251.57f50904db9b057dd9e5807e@freesa.org \
    --to=supervision@list.skarnet.org \
    --cc=psopka@sopka.ch \
    --cc=random@freesa.org \
    --cc=ska-supervision@skarnet.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).