1.查看crontab是否安装:

yum -y install vixie-cron

yum -y install crontabs

Centos7 安装crontab

 

2.启动:

systemctl start crond.service

Centos7 安装crontab

3.查看状态:

systemctl status crond.service

Centos7 安装crontab

4.关闭:

systemctl stop crond.service

Centos7 安装crontab

5.重启:

systemctl restart crond.service

Centos7 安装crontab

6.开机运行:

systemctl enable crond.service

相关文章:

  • 2022-01-24
  • 2022-01-14
  • 2021-12-22
  • 2022-02-01
  • 2021-08-21
  • 2021-12-13
  • 2022-12-23
猜你喜欢
  • 2021-12-22
  • 2021-09-18
  • 2022-12-23
  • 2021-06-30
  • 2021-12-28
  • 2022-12-23
  • 2022-01-15
相关资源
相似解决方案