查找并删除30天前的文件

0 1 * * * find /mnt/disk2/oss_data/logs/*.log -mtime +30 -exec rm -f {} ;

原文地址:https://www.cnblogs.com/bingyublog/p/9542088.html