By default, crontab will use whatever editor is stored in the VISUAL or EDITOR environmental variable, or vi if both are undefined. If you want to change the editor, type: $ export EDITOR= $ export VISUAL= Replace `` with your actual editor.