Your default editor is vi and you don’t have time to learn the most powerful Linux editor (vi). Here is how to set your default editor, whether its nano, pico or back to vi.
You can set your default editor to pico or nano, its more simple than vi (in my personal opinion).
Other case: default editor is vi, but vi is not installed. You’ll get something like:
/bin/sh: /usr/bin/vi: No such file or directory
crontab: "/usr/bin/vi" exited with status 127
Here is how to set your default editor, whether its nano, pico or back to vi.
export EDITOR="nano -w"
export EDITOR="pico -w"
Back to vi: