Centos 7 定时任务多次启动

systemctl start crond
systemctl stop crond
systemctl restart crond
systemctl reload crond

(1)停止crontab,systemctl stop crond
(2)查看cron进程数ps -A | grep cron如有多个使用kill进行杀掉
(3)启动crontab,systemctl start crond

猜你喜欢

转载自blog.csdn.net/qq_39457091/article/details/82656991