crontab editor nano code example
Example 1: crontab use nano
// nano
export VISUAL=nano; crontab -e
// vim
export VISUAL=vim; crontab -e
Example 2: corntab using nano
EDITOR=nano crontab -e. This will use nano only for that execution.
// nano
export VISUAL=nano; crontab -e
// vim
export VISUAL=vim; crontab -e
EDITOR=nano crontab -e. This will use nano only for that execution.