[root@iZj6c7hmt39ntpj3jmzsgmZ backup]# crontab -l#MySQL backup fileData_path=/server/backup0 0 */6 * * /bin/find $Data_path -type f -mtime +7 |xargs rm -rf {}\; #每隔6天执行一次,并删除7天前的备份