linux_crontab_定时删除
2017-02-28 09:46
176 查看
#每天2:30 删除4天前qac的原始log
30 2 * * * find /home/iknow/ETL/RetlPull/retl-pull/data/qac -name qac.log.new.* -type f -mtime +3 | xargs -i rm -rf {}
30 2 * * * find /home/iknow/ETL/RetlPull/retl-pull/data/qac -name qac.log.new.* -type f -mtime +3 | xargs -i rm -rf {}
相关文章推荐
- linux 下使用crontab 定时打包日志并删除已被打包的日志
- linux 下使用crontab 定时打包日志并删除已被打包的日志
- Linux shell crontab expdp 定时任务逻辑备份 定时删除旧文件
- linux实现crontab定时任务计划并删除之前的文件备份
- linux利用find + crontab定时删除文件(过期、超时)
- linux定时执行crontab使用方法
- Linux crontab定时执行任务
- linux 定时任务 crontab 详细解释
- crontab的用法---linux定时任务
- Linux系统利用Crontab命令实现定时重启
- linux定时任务--crontab的用法
- Linux下用Crontab来实现pl的定时运行
- 在linux下定时执行PHP脚本(定时执行crontab使用方法详解)
- crontab (linux 定时执行工具)
- linux上利用crontab定时备份postgres数据库及文件到windows系统
- 在linux中使用crontab实现对oracle的定时备份
- 利用Crontab为Linux定时备份Mysql数据库
- Linux 定时执行程序 crontab
- linux定时任务--crontab的用法
- LINUX下利用crontab定时备份日志