Category Archives: Crontab

8. crontab命令详解

8. crontab命令详解 1https://www.vpsrr.com/crontab-command/ 1-1. 查看是否已安装服务crontabs 1rpm -qa | grep crontabs 2-1. 安装 crontabs 1yum install -y crontabs 3-1. 查看服务状态crond 1systemctl status crond.service 3-2. 启动服务crond 1systemctl start crond.service 3-3. 关闭服务crond 1systemctl stop crond.service 3-4. 重启服务crond 1systemctl restart crond.service 3-5. 设置开机启动项服务crond 1systemctl enable crond.service 3-6. 取消开机启动项服务crond 1systemctl disable crond.service 4-1. 列出各种服务开机是否启动 1systemctl list-unit-files 4-2. 列出crond服务是否开机启动 1systemctl list-unit-files […]