*BSD News Article 30126


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!constellation!news.uoknor.edu!ns1.nodak.edu!netnews.nwnet.net!reuter.cse.ogi.edu!cs.uoregon.edu!usenet.ee.pdx.edu!fastrac.llnl.gov!s1.gov!overload.lbl.gov!agate!howland.reston.ans.net!pipex!sunic!trane.uninett.no!nntp.uio.no!thomasbe
From: thomasbe@uio.no (Thomas Berge)
Newsgroups: comp.os.386bsd.questions
Subject: Re: How do I stop crond from mailing?
Date: 29 Apr 1994 15:09:43 GMT
Organization: University of Oslo
Lines: 15
Message-ID: <2pr7vn$j6g@hermod.uio.no>
References: <2pp4dk$l8a@kelly.teleport.com>
Reply-To: Thomas.Berge@studorg.uio.no
NNTP-Posting-Host: admin.uio.no
X-Newsreader: TIN [version 1.1 PL9]

Max Bell (mbell@teleport.com) wrote:
> IE: If you have "0 2 * * * /usr/adm/cleanup", change it to:
> "0 2 * * * /usr/adm/cleanup > /dev/null 2>&1".  I am assuming that crond uses
> the Borne shell to execute crontab entries.  If it uses something else, use
> that shell's redirection syntax instead (for csh it would be ">& /dev/null").

Ahhhh... Now that worked! Thanks!

 _____________________________           _____
| Thomas.Berge@studorg.uio.no \           \ R \__      _____                  
| Faculty of Law               \___________\   \/_______\___\_____________    
| University of Oslo, Norway   /           ( /_/   .....................  `-.
|_____________________________/             `-----------,----,--------------'
                                                      _/____/