简体   繁体   中英

crontab -e issue on sun solaris fresh installation

I'm doing server migration in sun solaris OS. And I have to migrate crontabs also with that. New server have fresh installation of solaris. In usual way while I type crontab -l it shows the existing cron content.

But while I type crontab -e it fail to load the editor. How can I overcome this issue?

This can be fixed by exporting editor variable with value vi . So run following command and then run crontab -e

export EDITOR=vi
crontab -e

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM