Linux 系统 如何检测 Cron 服务已经运行

初学额 2013-10-01 08:44:03
Linux 系统 如何检测 Cron 服务已经运行

用什么命令呢? 谢谢

...全文
684 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
ljc007 2013-10-08
  • 打赏
  • 举报
回复
ps -ef | grep "[c]rond"
Alibner 2013-10-06
  • 打赏
  • 举报
回复
netstat -lntp | grep "crond"
注意是crond 不是cron 当然你还可以
/etc/init.d/crond status
来查看
姜小白- 2013-10-02
  • 打赏
  • 举报
回复
[root@localhost ~]# service crond status crond (pid 3675) is running... 服务正在运行
jiang580617 2013-10-02
  • 打赏
  • 举报
回复
楼上是正确的
PonyCheng2019 2013-10-01
  • 打赏
  • 举报
回复
ps -e | grep "cron"。
姜小白- 2013-10-01
  • 打赏
  • 举报
回复
 /sbin/service crond start //启动服务  /sbin/service crond stop //关闭服务 /sbin/service crond restart //重启服务 /sbin/service crond reload //重新载入配置 cron使用方法 不知道这个是否是楼主想要的

19,612

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧