Re: Have an external script wait for a oneshot service

"Brett Neumeier via supervision" <[email protected]> Thu, 5 Dec 2024 15:42:51 -0600
Newsgroups gmane.comp.sysutils.supervision.general
Message-ID <[email protected]>
On Thu, 5 Dec 2024 22:10:17 +0100
Paul Sopka <[email protected]> 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 <[email protected]>