Mailinglist Archive: opensuse (4570 mails)

< Previous Next >
RE: [SLE] Script to check if an application is running
  • From: "Albert" <albert@xxxxxxxxxxxx>
  • Date: Thu, 17 Nov 2005 15:21:32 +0000 (UTC)
  • Message-id: <!&!AAAAAAAAAAAYAAAAAAAAAMXrzDPNkPxNrI74WEP6CUzCgAAAEAAAAFJuFYJu9s1HoHLaMjD9aEEBAAAAAA==@xxxxxxxxxxxx>
Bruce Marshall wrote:
> On Thursday 17 November 2005 02:39 am, Albert wrote:
> > I want to write a bash script which can be executed by cron every minute
> to
> > check if an application is running. If it is not running the script
> should
> > start it again.
> >
> >  
>
>
> Here's an example:

Thanks. It certainly does the job.

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.3/172 - Release Date: 2005/11/15



< Previous Next >
References