执行crontab -e提示错误 – bash:crontab:command not found

执行 crontab -e 提示错误

– bash:crontab:command not found

有朋友想建站SEO,在测试安装新VPS主机,用的是LAMP。

  • LAMP是(Linux + Apache + MySQL/MariaDB/Percona + PHP) 生产环境的 Shell 程序。

在给网站安装SSL安全证书后,需要设置SSL证书自动续期。

将自动备份作业添加到VPS上的CentOS系统时,执行:

crontab -e

然后出现错误提示:

- bash:crontab:command not found

为了解决这个错误,你需要安装:vixie-cron

请执行命令:

yum install vixie-cron -y

解决方法是不是非常简单?

发表评论

您的邮箱地址不会被公开。 必填项已用 * 标注

Scroll to Top