Hi all.
I was trying to run crontab -e
on one of my machines to add few cron jobs and I have found myself looking at this error:
/bin/sh: /usr/bin/vi: No such file or directory
Wth? I have vi
installed I thought… and I have started investigation. Crontab is looking for the vi
file in a wrong place. To fix it run this commands:
su
give it a root password.
ln -s /bin/vi /usr/bin/vi
exit
crontab -e
You will be able to add entries ;).
Hope this helps somebody someday.
Andy