title: Can't edit crontab
body: <p>I'm trying to edit my crontab, but I just can't open it!</p>
  <p>So with my user foo, I just type:</p>
  <pre><code>crontab -e
  </code></pre>
  <p>Then I got:</p>
  <pre><code>no crontab for foo - using an empty one
  nano: No such file or directory
  crontab: &quot;nano&quot; exited with status 1
  </code></pre>
  <p>So I tried first:</p>
  <pre><code>export EDITOR=nano
  </code></pre>
  <p>I retried and I got exactly the same output. I also tried to set my editor to Vim with:</p>
  <pre><code>export EDITOR=vim
  
  no crontab for foo - using an empty one
  vim: No such file or directory
  crontab: &quot;vim&quot; exited with status 1
  </code></pre>
  <p>But I keep getting the same output again and again. How can I open my crontab and then edit it?</p>