Re: Have an external script wait for a oneshot service

From: Brett Neumeier <random_at_freesa.org>
Date: Thu, 5 Dec 2024 15:42:51 -0600

On Thu, 5 Dec 2024 22:10:17 +0100
Paul Sopka <psopka_at_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_at_freesa.org>
Received on Thu Dec 05 2024 - 22:42:51 CET

This archive was generated by hypermail 2.4.0 : Thu Dec 05 2024 - 22:43:32 CET