其他分享
首页 > 其他分享> > crontab安装以及定时任务的执行

crontab安装以及定时任务的执行

作者:互联网

1、安装

yum install crontabs

2、查看状态,启动,关闭,重启

service crond status   ## 查看状态
service crond start   ## 启动服务 
service crond stop    ## 关闭服务 
service crond restart ## 重启服务

  

标签:服务,service,##,重启,crontab,关闭,定时,安装,crond
来源: https://www.cnblogs.com/torchstar/p/15123637.html