1.查看crontab是否安装:
yum -y install vixie-cron
yum -y install crontabs

2.启动:
systemctl start crond.service
![]()
3.查看状态:
systemctl status crond.service

4.关闭:
systemctl stop crond.service

5.重启:
systemctl restart crond.service

6.开机运行:
systemctl enable crond.service
本文详细介绍如何在Linux系统中安装、启动、查看状态、关闭及重启crond服务,并设置其开机自启,帮助读者掌握Cron任务的基本操作。
4082

被折叠的 条评论
为什么被折叠?



