I am trying to edit my crontab, but I just can't open it!
So, with my user foo, I just type:
crontab -e
Then I got:
no crontab for foo - using an empty one
nano: No such file or directory
crontab: "nano" exited with status 1
So, I first tried:
export EDITOR=nano
I repeated, and I have exactly the same result. I also tried setting my editor to vim using
export EDITOR=vim
no crontab for foo - using an empty one
vim: No such file or directory
crontab: "vim" exited with status 1
But I get the same thing over and over again. How the hell can I open my crontab and then edit it?
Does anyone know why ?!
source
share