美文网首页
crontab 使用命令记录

crontab 使用命令记录

作者: 进击的程序茗 | 来源:发表于2022-01-17 08:44 被阅读0次

1.查看crontab当前任务

crontab -l

2.编辑crontab任务

crontab -e

3.crontab相关命令

service crond start //启动服务
service crond stop //关闭服务
service crond restart //重启服务
service crond reload //重新载入配置
service crond status //查看服务状态

相关文章

网友评论

      本文标题:crontab 使用命令记录

      本文链接:https://www.haomeiwen.com/subject/hmxchrtx.html