On Fri, 19 May 2017 09:32:52 +0100
The Natural Philosopher wrote:
> On 19/05/17 09:28, Mike Scott wrote:
> > On 18/05/17 22:31, Martin Gregorie wrote:
> > ....
> >>> I would imagine a startup script could be inserted into teh init.d
> >>> system to, after the window manager stars up launch what apps in what
> >>> window arrangements are desirable
> >>>
> >> Yes, that would work, and you could use frequently executed cron jobs
> >> to detect that some application has fallen over and restart it,
> >> emailing yo an alarm if it fails more than 'n' times in a row.
> >
> > Am I missing something here? What's wrong with each task being wrapped
> > in a trivial shell script that loops forever, eg:
> >
> > while true; do xterm -e ssh myhost; mail root -s 'ssh exited'
> > >
> > or similar.
> >
>
> Hmm. You are assuming it crashes in a way that will exit back to that?
If the xterm or ssh in that example crash then the shell loop will
certainly continue. If the shell crashes (very rare indeed), or the
processes hang then it won't.
--
Steve O'Hara-Smith | Directable Mirror Arrays
C:>WIN | A better way to focus the sun
The computer obeys and wins. | licences available see
You lose and Bill collects. | http://www.sohara.org/
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|