Article 5F879 crontab -e # is illegal during initialization

crontab -e # is illegal during initialization

by
aikempshall
from LinuxQuestions.org on (#5F879)
Whenever I edit my crontab I get this error

Quote:
# is illegal during initialization
reading /var/spool/cron/crontab.iYbP2T
Even after this error cron works as expected.

Also happens when I edit files using /usr/bin/vi, but not when i use /usr/bin/vim.

I'm sure I've been here before, or similar, when an aborted edit left a file behind. Deleted the file and everything returned to normal.

Can anyone push me in the right direction?latest?d=yIl2AUoC8zA latest?i=VpOoEGTBqFk:_Y9k8hVKQdE:F7zBnMy latest?i=VpOoEGTBqFk:_Y9k8hVKQdE:V_sGLiP latest?d=qj6IDK7rITs latest?i=VpOoEGTBqFk:_Y9k8hVKQdE:gIN9vFwVpOoEGTBqFk
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