[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: root mail - cronjob



On Thu, Oct 12, 2000 at 02:23:01PM -0500, Techgod wrote:
> I have this cronjob running, and everytime it runs, it emails root, to say
> it was successful.  How do I get it to stop sending the email?

Add "> /dev/null 2>&1" to the script's line in your crontab. 

Example:

* * * * * /path/to/script > /dev/null 2>&1

regards,

-- 
Staf Wagemakers

email      : staf@digibel.org
homepage   : http://www.digibel.org/~staf



Reply to: