Every time I've ever installed Linux, including several distributions, I've always been able to run crontab commands. I'm on the latest CentOS linode offers, and I can't run crontab, even though yum says it's installed:
Code:
# sudo yum install crontabs
<snip>
Package crontabs-1.10-8.noarch already installed and latest version
Nothing to do
So I try to run crontab (as root):
Code:
# crontab
-bash: crontab: command not found
So I look for it, and indeed it's nowhere:
Code:
# find / -iname *cron*
/usr/share/vim/vim70/syntax/crontab.vim
/var/lib/php/session/sess_2ubvqg7cront79e93j8kp4cjs0
/var/log/cron
/etc/cron.daily
/etc/cron.daily/makewhatis.cron
/etc/crontab
/etc/cron.hourly
/etc/cron.weekly
/etc/cron.weekly/makewhatis.cron
/etc/cron.monthly
The files in /etc are not the binary, and best not edited manually, though I can do that, too. I went to library.linode.com to see if there's something special with crontab on Linode's servers, or specifically their centos server, but the article Linode has on crontab assumes it's already there. Indeed, it says that it doesn't matter what platform you are on because it works the same in all of them (which is my experience as well), but apparently they missed something with the latest CentOS... or did I miss something?
Brandon