Crontab

Gordon Keegan lgk011 at dma.isg.mot.com
Wed Jun 21 04:25:38 EDT 2000


If you redirect the output of a cron entry to a file (or /dev/null)
then you shouldn't get email.  For example:

	* 3 * * * /usr/local/bin/myscript > /tmp/myscript.log 2>&1
or
	15,45 8-17 * * * /home/user1/monitor > /dev/null 2>&1

Hope that helps.

-- 
Gordon Keegan, M10-10		Phone: (508) 261-4696
Motorola ING			Fax:   (508) 261-5757
20 Cabot Boulevard
Mansfield, MA 02048		email: lgk011 at dma.isg.mot.com


> Hello,
> 	Anyone know how to make crontab stop sending email everytime it
> completes a task.  Or send crontabs mail to /dev/null?  
> 
> Thanks,
> Anthony
> 
> -
> Subcription/unsubscription/info requests: send e-mail with
> "subscribe", "unsubscribe", or "info" on the first line of the
> message body to discuss-request at blu.org (Subject line is ignored).
> 


-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).



More information about the Discuss mailing list