If you need to change the default text editor used when opening the crontab file, you need to use the VISUAL environment variable.
To set nano as the text editor for the crontab file, type:
export VISUAL=nano; crontab -e
while to set vim as the text editor, type:
export VISUAL=vim; crontab -e
I hope this helps
Enjoy!
