linux學習篇之crontab定時任務

一:crontab進行定時任務設置 基本語法: crontab [選項] 常用選項: -e:編輯crontab定時任務 -l:查詢crontab定時任務 -r:刪除當前用戶所有的crontab任務 service crond restart --重啓任務調度 crontab -e --進入文本編輯 */1 * * * * ls -l /etc >> /opt/tmp/crontab.txt --前
相關文章
相關標籤/搜索