修改: README.md

修改:     mail.log.sh
This commit is contained in:
aixiao 2019-01-19 17:11:43 +08:00
parent aa0ab9faee
commit 9db01550c1
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
# mail.log
记录mail server的一些信息.
记录mail server的一些信息,攻击IP等.
- 适用Debian 8、9
crontab 定时任务,像这样.

View File

@ -10,8 +10,8 @@ function run()
pwd_path="/root";
TIME=`date +"%Y%m%d"`;
log_file="${pwd_path}/${TIME}.log";
email_address="1605227279@qq.com";
num=9;
email_address="1605227279@qq.com";
num=9;
echo "Read-Only Memory,ROM:" &>> ${log_file}
df -am &>> ${log_file}