How to Resolved -bash: crontab: command not found error

Share this Article :

Symptoms:
When i try to crontab command on my CentOS 5 server, it will return this error message:

    [[email protected] ~]# crontab -l
    -bash: crontab: command not found
    or
    [[email protected] ~]# crontab -e
    -bash: crontab: command not found
    

Findings:
crontab was not installed on this server.

Solution :
Just run yum install to install the crontab on your CentOS 5 server.

    [[email protected] ~]# yum install vixie-cron
    


Leave a Reply