Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Apr 1997 03:39:09 +0400 (MSD)
From:      "Oleg M. Golovanov" <oleg@tpo.krasnoyarsk.su>
To:        DWolfe@ZYGA.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Cron jobs
Message-ID:  <AATy-Npap2@tpo.krasnoyarsk.su>
References:  <01BC4FF0.6D7EC0A0@dans-zyga-pc.zyga.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>FreeBSD Users:
>
>Has anyone written a script to periodically check if a particular process is running, and if not, restart it?
>

Yes, I did.

You must to start from cron table a script which is making "ps ax" and
is analizing it.

But what you are interested in details ?

--
Oleg M. Golovanov
System administrator of
Interurban Communications Center's
Computer Network in Krasnoyarsk Region

Phones (3912) 499-622, 435-920
Faxes  (3912) 430-570, (095) 241-9142




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AATy-Npap2>