[NTLUG:Discuss] Cron

fredjame fredjame at fredjame.cnc.net
Mon Apr 19 11:11:37 CDT 2004


Scott Hollomon wrote:

>On Mon April 19 2004 10:28 am, terry wrote:
>  
>
>>Scott Hollomon wrote:
>>    
>>
>>>I don't want the cron daemon to send me email when it runs, or better
>>>yet, to email me when some jobs run but not others.  I tried to turn it
>>>all off by doing the following:  edit the mail to line in /etc/crontab so
>>>that there was no address, then I restarted crond.  But that didn't work.
>>> Any suggestions?
>>>      
>>>
>>That should work, according to man 5 but you might grep for "mail" or
>>"Mail"  or "MAIL" in that crontab file or, any other one, (Could it be
>>coming from another user's crontab?)
>>    
>>
>
>
>There are user crontab files in /var/spool/cron, but there is no MAILTO line 
>in those files.  Is the answer as simple, as suggested in another post above, 
>as putting a >/dev/null at the end of each line in the user files I don't 
>want to get mail about?
>
>Thanks.
>  
>
Actually, yes.

-- 
...we are fellow passengers...





More information about the Discuss mailing list