title: laravel cron Failed to start the session because headers have already been sent by "" at line 0
body: <p>I'm using Laravel 4 to build my site, and I just created a new command that backs up my database and does a few database updates. Calling it on my computer through windows command prompt works fine:</p>
  
  <pre><code>php artisan dbupdate
  </code></pre>
  
  <p>But when I try to use it as a cron job on my shared host server like this:</p>
  
  <pre><code>1 * * * * php -q /home/******/laravel/artisan dbupdate
  </code></pre>
  
  <p>I get the following error:</p>
  
  <blockquote>
    <p>Failed to start the session because headers have already been sent by "" at line 0.</p>
  </blockquote>
  
  <p>I thought it might be something in my code, so I commented it all out and just put a echo "hello command" line in to test it, but I still got the same error. It's coming from laravel/vendor/symfony/http-foundation/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php</p>
  
  <p>I'm pretty new to Laravel and quite new to cron jobs. What could be the problem?</p>