Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!lll-winken.llnl.gov!uwm.edu!math.ohio-state.edu!jussieu.fr!eurocontrol.fr!polaris.eurocontrol.fr!not-for-mail
From: Ollivier.Robert@eurocontrol.fr (Ollivier Robert)
Newsgroups: comp.unix.bsd.386bsd.misc
Subject: Re: cron and mail
Date: 12 Sep 1996 12:05:57 GMT
Organization: Eurocontrol EEC, Bretigny, France
Lines: 14
Message-ID: <518ub5$2jo@polaris.eurocontrol.fr>
References: <01bba034$6163e1e0$05b3ffcc@ppp-.knighted.com>
NNTP-Posting-Host: mozart.eurocontrol.fr
[courtesy cc of this posting sent to cited author via email]
In article <01bba034$6163e1e0$05b3ffcc@ppp-.knighted.com>,
George H. Gates <ggates@knighted.com> wrote:
> Does anyone know a way to make cron stop mailing a person when it does a
> job? I have a cronjob that runs every 5 minutes to see if a dialout ppp
> connection is still live, and it mails me with the results. 12 messages an
> hour fills up my mailbax and is a real pain.
Make it return 0 if the connection is still alive and suppress any output
from the program.
--
Ollivier ROBERT -=- Eurocontrol EEC/TIS -=- Ollivier.Robert@eurocontrol.fr
FreeBSD FAQ: <URL:http://www.FreeBSD.org/FAQ/>