crontab -e # is illegal during initialization
by aikempshall from LinuxQuestions.org on (#5F879)
Whenever I edit my crontab I get this error
Quote:
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?


Quote:
# is illegal during initialization reading /var/spool/cron/crontab.iYbP2T |
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?