Executing crontab -e resulted in an error.
– bash: crontab: command not found
A friend wants to build a website and do SEO , and is testing the installation of a new VPS host using LAMP.
After installing the SSL security certificate for the website, you need to set up the automatic renewal of the SSL certificate.
When adding an automatic backup job to the CentOS system on the VPS , execute:
crontab -e
Then an error message appears:
- bash:crontab:command not found
To resolve this error, you need to install: vixie-cron
Please execute the command:
yum install vixie-cron -y
Is the solution very simple?
Hopefully, the article "Error message when executing crontab -e – bash: crontab: command not found" shared on Chen Weiliang's blog ( https://www.chenweiliang.com/ ) will be helpful to you.
Feel free to share this article's link: https://www.chenweiliang.com/cwl-647.html
