title: saving cron job in ubuntu
body: <p>I am new to ubuntu and cron job. I have entered the following into my command line: </p>
  
  <pre><code>       crontab -e
  </code></pre>
  
  <p>and I get the following output: "no crontab for teddy - using an empty one 888"</p>
  
  <p>Then I enter when I want it to execute (I believe this is right?... I want it to run once a day, everyday at 8pm):  </p>
  
  <pre><code>                 00 18 * * * /*****/*****/****/test.php 
  </code></pre>
  
  <p>Here is my problem, I dont know how to exit back to the command line. Everything I type gives me weird looking letters and enter (return) doesn't do anything. I have read that this will do the job</p>
  
  <pre><code>                 ESC : w q
  </code></pre>
  
  <p>but its not working for me. I tried typing that in, I tried pressing them at the same time, I tried pressing one at a time. Nothing, still stuck. When I press ESC, it comes out as ^[.</p>
  
  <p>This is probably  very easy question and I apologize if it is stupid but I have been stuck for sometime. Any help would much appreciated.</p>
  
  <p>Thank you</p>
  
  <p>P.S. I read somewhere that if this is your first job that you need to to do an end line at the end of the cronjob... is this a simple enter key press or actually typing \n?</p>