1 頁 (共 1 頁)

如果超過800mb 管理者root 並告知哪個檔案已經超過800mb

文章發表於 : 2011年 6月 14日, 15:53
super
執行 crontab -e 在最底下多加一行:

代碼: 選擇全部
59 23 * * * find /home -type f -size +81920 -printf "%s:%h%f\n" | mail -s "bigger than 800MB files" root@localhost