scheduled jobs under supervise (was: "extern int errno" was deprecated 2 years before "djbdns" was even written)

[email protected] (Paul Jarc)
Newsgroups gmane.comp.djb.syslog
Organization What did you have in mind? A short, blunt, human pyramid?
Message-ID <[email protected]>
Laurent Bercot <[email protected]> wrote:
>  Simpler with the same advantage: "do-the-job ; exec sleep 60".

<plug mode="oneupmanship">
For simple "sleep 60"-type stuff, yes, that'll work.  For "sleep until
Tuesday at noon", runwhen helps. :)

> Drawback : you can't send signals to do-the-job with svc, but it
> would be a risky business anyway (do-the-job is supposed to be
> short-lived).

Well, it often is, but it doesn't need to be.


paul
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.