When running the command crontab -e
you receive an error: "pico" exited with
status 127
. The reason for the error is that the default text editor is defined as pico, which is not installed by default.
The error message presents as:
/bin/sh: pico: command not found crontab: "pico" exited with status 127
Selecting an Editor
IMPORTANT: This solution will require root access. If this needs obtained, follow the guide on requesting root access.
NOTE: The reason for the error is that the default text editor is defined as pico, which is not installed by default.
- SSH into server as root
- Run the following to define nano as the default editor:
ln -s /usr/bin/nano /usr/bin/pico && export EDITOR="nano"
TIP: Another editor, such as vim, can be used in place of nano if desired.
Comments
0 comments
Article is closed for comments.