# 暗无天日

=============>DarkSun的个人博客

# 如何更改crontab任务结果的邮件接收人

crond 的手册说明中有这么一段话

Cron  examines  all stored crontabs and checks each job to see if it needs to be run in the current minute.
When executing commands, any output is mailed to the owner of the crontab (or to the user specified in the MAILTO environment variable in the crontab, if such exists).
Any job output can also  be  sent  to syslog by using the -s option.


MAILTO=root
* * * * *  command to be executed