Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!mgweed!prg From: prg@mgweed.UUCP (Gunsul) Newsgroups: comp.unix.questions Subject: Re: How can one avoid sending mail after an `at' ? Summary: Stdout & stderr Keywords: at mail /dev/null Message-ID: <7775@mgweed.UUCP> Date: 10 Jan 91 15:06:46 GMT References: <1991Jan10.085555.3150@aar.alcatel-alsthom.fr> Sender: umgweed@linac.fnal.gov (UUCP link) Organization: AT&T Montgomery Works, Montgomery, IL Lines: 24 In article <1991Jan10.085555.3150@aar.alcatel-alsthom.fr>, sap@aar.alcatel-alsthom.fr (Jacques Sap) writes: > The man pages say: > > > Standard output and standard error output are mailed to the > > user unless they are redirected elsewhere. > > So I tried "at now +...... >& /dev/null" > > But I still receive mail after completion, how to avoid it ? > -- > Jacques SAP Alcatel Alsthom Recherche > Route de Nozay, 91460 MARCOUSSIS, FRANCE > Tel. 64.49.11.47, sap@aar.alcatel-alsthom.fr Try redirecting BOTH output and error using ... 2>&1 > /dev/null -- AT&T | This space | (708)-859-4485 Phil Gunsul | intentionally | prg@mgweed.ATT.COM Montgomery, IL | left blank.. | AT&T Information Systems