This morning to work, found Zabbix system alarm, production on a server/partition less than 20% space.
SSH to the specified server to view, found in the/var/spool/postfix/maildrop/directory generated 10G files.
These files are sent to the task owner by mail as output and warning information in the script, as the system performs the scheduled tasks in Crontab.
The solution is as follows:
Add Mailto= "" to the first line of crontab and specify an empty email address to resolve the issue
[[email protected] sbin]# crontab-lmailto= "" * * * * * */usr/sbin/ntpdate asia.pool.ntp.org >/dev/null 2>&1# Delete cr Ontab generated files [[email protected] sbin]# rm-rf/var/spool/postfix/maildrop/*
This article is from the "ly36843" blog, please be sure to keep this source http://ly36843.blog.51cto.com/3120113/1647267
Crontab generate a large number of mail files