Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!convex!convex!cs.utexas.edu!howland.reston.ans.net!EU.net!dkuug!eunet.no!nuug!nac.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: 28 Apr 1994 17:14:39 GMT Organization: University of Oslo Lines: 18 Message-ID: <2poqtv$pbo@hermod.uio.no> References: <2poeil$det@explorer.clark.net> Reply-To: Thomas.Berge@studorg.uio.no NNTP-Posting-Host: admin.uio.no X-Newsreader: TIN [version 1.1 PL9] Eric S. Hvozda (ack@clark.net) wrote: >>Does anybody know how I can prevent crond from mailing to the crontab-user >>after it has finished the job? >Redirect the output. Don't forget about stderr too :-) How could I do that? Should I do it when starting the crond? (Like this: crond >/dev/null) Or do you suggest that I could redirect the output of crond in some other way? After all, it sends a mail *automagically* to the user who "owns" the crontab (or another user, if MAILTO=something). _____________________________ _____ | Thomas.Berge@studorg.uio.no \ \ R \__ _____ | Faculty of Law \___________\ \/_______\___\_____________ | University of Oslo, Norway / ( /_/ ..................... `-. |_____________________________/ `-----------,----,--------------' _/____/