情况一:正常情况(系统有service命令)
重启服务命令:[root@centos6 /]# service crond restart
启动服务命令:[root@centos6 /]# service crond start
停止服务命令:[root@centos6 /]# service crond stop
-------------------------------------------------------------------------------------
crontab -e : 执行文字编辑器来设定时程表
crontab -r : 删除目前的时程表
crontab -l : 列出目前的时程表
crontab file [-u user]-用指定的文件替代目前的crontab。
网友评论