How can one avoid sending mail after an `at' ?

Gunsul prg at mgweed.UUCP
Fri Jan 11 02:06:46 AEST 1991


In article <1991Jan10.085555.3150 at aar.alcatel-alsthom.fr>, sap at 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 at 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 at mgweed.ATT.COM
Montgomery, IL	|	 left blank..		| AT&T Information Systems



More information about the Comp.unix.questions mailing list