ubuntu中crontab的编译器切换到vim 修改/etc/profile 添加 export EDITOR=vim /etc/init.d/cron stop /etc/init.d/cron start