linux学习篇之crontab定时任务

一:crontab进行定时任务设置 基本语法: crontab [选项] 常用选项: -e:编辑crontab定时任务 -l:查询crontab定时任务 -r:删除当前用户所有的crontab任务 service crond restart --重启任务调度 crontab -e --进入文本编辑 */1 * * * * ls -l /etc >> /opt/tmp/crontab.txt --前
相关文章
相关标签/搜索