[英]crontab -e issue on sun solaris fresh installation
I'm doing server migration in sun solaris OS. 我正在sun solaris操作系统中进行服务器迁移。 And I have to migrate crontabs also with that.
而且我也必须与此一起迁移crontabs。 New server have fresh installation of solaris.
新服务器重新安装了solaris。 In usual way while I type
crontab -l
it shows the existing cron content. 通常,当我键入
crontab -l
它会显示现有的cron内容。
But while I type crontab -e
it fail to load the editor. 但是,当我键入
crontab -e
它无法加载编辑器。 How can I overcome this issue? 我该如何克服这个问题?
This can be fixed by exporting editor variable with value vi
. 这可以通过导出值为
vi
编辑器变量来解决。 So run following command and then run crontab -e
因此,运行以下命令,然后运行
crontab -e
export EDITOR=vi
crontab -e
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.