永远就三年疗 发表于 2024-9-11 15:06:26

云服务器提示crontab command not found的解决方法

操作步骤

1. 确认crontab是否安装:

  执行 crontab 命令如果报 command not found,就表明没有安装

2. 安装 crontab

  执行 yum install -y vixie-cron

3. 确认是否安装成功:

  执行 crontab -l

4. 看是否设置了开机自动启动

  chkconfig --list crond

5. 启动crontab

  service crond start
页: [1]
查看完整版本: 云服务器提示crontab command not found的解决方法