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

Re: 有没有办法不让 crontab 发邮件?



命令后面加上 >/dev/null 2>&1

在06-1-17,"ФʢÎÄ (Faris Xiao)" <atzlinux@126.com> 写道:

man cron

可以看到如下将 crontab 的输出发邮件的说明:
When executing commands, any output is mailed to the owner of the
crontab  (or  to  the  user  named  in the MAILTO environment variable
in the crontab, if such exists).

请问有没有一个配置选项,让 crontab 不发邮件?

我找了半天没有找到.


--
肖盛文 (Faris Xiao)
Email:atzlinux@126.com



--
To UNSUBSCRIBE, email to debian-chinese-gb-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org




--
wd.afei#gmail.com
Reply to: