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