change default crontab editor to nano code example
Example 1: corntab using nano
EDITOR=nano crontab -e. This will use nano only for that execution.
Example 2: change crontab editor
#run command in terminal:
select-editor
#Then select an option:
Select an editor. To change later, run 'select-editor'.
1. /bin/nano <---- easiest
2. /usr/bin/vim.tiny
3. /bin/ed
Choose 1-3 [1]: