crontab -e

The -e option is used to edit the current crontab using the editor specified by the VISUAL or EDITOR environment variables. After you exit from the editor, the modified crontab will be installed automatically. By default, on a Linux system, the editor is likely to be the vi editor.