2020年2月27日

linux运维常用命令

摘要: 1,创建定时任务定时删除文件: 每天一点定时删除/tmp下3天前.tar.gz结尾的文件; [root@localhost sql]# crontab -e 0 1 * * * find /tmp -mtime +3 -name "*.tar.gz" -exec rm -rf {} \; 2,查看定 阅读全文

posted @ 2020-02-27 14:13 一抹天空 阅读(152) 评论(0) 推荐(0) 编辑

导航