crontab set editor nano code example
Example 1: crontab use nano
// nano
export VISUAL=nano; crontab -e
// vim
export VISUAL=vim; crontab -e
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]: