Why Does Crontab -e Command Open In GUI Text Editor?
by rakeshmanmohan from LinuxQuestions.org on (#555P0)
My employer purchased a desktop PC with a custom Linux installation, CentOS 6.9. The vendor is not providing any support. On this desktop I am trying to automate a simple script I created using crontab, strangely, whenever I run the command 'crontab -e' it opens in a GUI text editor.
I enter the cron job I need, click the save button on the text editor and close it, however, when I run 'crontab -l' and view the listing I don't see the cron I entered in the text editor.
I'm a newbie so everything I'm doing is informed by Google search so I expected crontab to open in vim. Could someone explain: Why is it opening in a GUI text editor? How do I get it to save?
Thank you


I enter the cron job I need, click the save button on the text editor and close it, however, when I run 'crontab -l' and view the listing I don't see the cron I entered in the text editor.
I'm a newbie so everything I'm doing is informed by Google search so I expected crontab to open in vim. Could someone explain: Why is it opening in a GUI text editor? How do I get it to save?
Thank you