[root@zthz3 ~]# crontab -e
/bin/sh: /bin/vi: No such file or directory
crontab: "/bin/vi" exited with status 127
解决办法:
cp /usr/bin/vim /bin/
cp /usr/bin/vi /bin/
本文转自谢无赖51CTO博客,原文链接: http://blog.51cto.com/xieping/1436735,如需转载请自行联系原作者
[root@zthz3 ~]# crontab -e
/bin/sh: /bin/vi: No such file or directory
crontab: "/bin/vi" exited with status 127
解决办法:
cp /usr/bin/vim /bin/
cp /usr/bin/vi /bin/
本文转自谢无赖51CTO博客,原文链接: http://blog.51cto.com/xieping/1436735,如需转载请自行联系原作者