使用crontab -e 编辑计划任务时,出错:
/tmp/fcr-bTIUUT: /bin/vi: No such file or directory
Fcrontab is unchanged : no need to install it.
查看貌似是软连接出错了,重新建立软链接:不再出错。
/tmp/fcr-bTIUUT: /bin/vi: No such file or directory
Fcrontab is unchanged : no need to install it.
查看
- ls -l /bin/vi
- lrwxrwxrwx 1 root root 3 Sep 5 2007 /bin/vi -> vim
- rm -rf /bin/vi
- ln -s /usr/bin/vim /bin/vi
编辑回复