-bash: crontab: command not found has been resolved

Crontab is a command, commonly found in Unix and Unix-like operating systems, used to set instructions to be executed periodically.
Problem analysis: The command is not found, there may be a high probability that crontab is not installed. Installed on the line
execution yum install -y vixie-cron
Insert picture description hereto see the boot is enabled
Insert picture description hereto perform -e crontab
Insert picture description here
* */1 * * * ntpdate ntp.api.bz; hwclock -w(per hour synchronous virtual machines and hardware time)

Insert picture description here

Guess you like

Origin blog.csdn.net/qq_43674360/article/details/111309484
Recommended