Crontab错误电子邮件:使用-f将发件人设置为root
对于此格式的crontab条目, */1 * * * * /usr/bin/php /app/<userid>/command --flag='value' 我看到这封邮件每分钟<userid>@host通过电子邮件发送到(并查看mail): From root@host Wed May 2 16:36:02 2012 Return-Path: <root@host> Date: Wed, 2 May 2012 16:36:01 -0400 X-Authentication-Warning: host: <userid> set sender to root using -f From: root@host (Cron Daemon) To: <userid>@host Subject: Cron <<userid>@host> /usr/bin/php /app/<userid>/command --flag='value' Content-Type: text/plain; charset=UTF-8 …