Executing crontab -e prompts an error - bash: crontab: command not found

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.

  • LAMP is (Linux +Apache+ MySQL/MariaDB/Percona + PHP) Shell program for production environment.

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?

Comment

Your email address will not be published. Required fields are marked with * .

Scroll to Top