Article 555P0 Why Does Crontab -e Command Open In GUI Text Editor?

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 youlatest?d=yIl2AUoC8zA latest?i=2tbaHlJBjXA:RFs6ImxgUlI:F7zBnMy latest?i=2tbaHlJBjXA:RFs6ImxgUlI:V_sGLiP latest?d=qj6IDK7rITs latest?i=2tbaHlJBjXA:RFs6ImxgUlI:gIN9vFw2tbaHlJBjXA
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments