modify crontab code example
Example 1: crontab edit
crontab -e # open user crontab in edit mode
i # for insert. Make your changes
:wq! # quit and save
crontab -l # open user crontab in read mode
Example 2: change crontab editor
#run command in terminal:
select-editor
#Then select an option:
Select an editor. To change later, run 'select-editor'.
1. /bin/nano <---- easiest
2. /usr/bin/vim.tiny
3. /bin/ed
Choose 1-3 [1]: