title: Why Laravel keeps calling schedule() with every Artisan Command?
body: <p>I have one table called <code>dc_user_meta</code> and I've created one artisan command and scheduled it in <code>kernel.php</code>. Just after cloning the repository, when I try to run <code>PHP artisan migrate</code>, I get this error.</p>
  
  <pre><code>  [Illuminate\Database\QueryException]                                                                                                              
    SQLSTATE[42S02]: Base table or view not found: 1146 Table 'database.dc_user_meta' doesn't exist (SQL: select * from `dc_user_met  
    a` where `meta_key` = usage_in_days)
  </code></pre>
  
  <p>Not only <code>php artisan migrate</code> but I am unable to run any artisan command at all! I don't know why PHP keeps calling <code>schedule</code> method every time I try to execute any artisan command.</p>
  
  <p>Here in this case, What I can do to solve this error is put the cover over my logic in <code>schedule</code> method just like this.</p>
  
  <pre><code>if(Schema::hasTable('dc_user_meta')){
      // Code here
  }
  </code></pre>
  
  <p>But I don't think it's good in Long run. What's the right way to solve this error?
  <br><br><br>
  <strong>UPDATE:</strong>
  I just tried covering call to command in <code>kernel.php</code> just like this but still no success!</p>
  
  <pre><code>if(Schema::hasTable('dc_user_meta')){
      $schedule-&gt;command('usage:update')-&gt;daily();
  }
  </code></pre>
  
  <p><strong>UPDATE:</strong>
  I got the solution. But I don't think it's the answer to the question. It solves my problem but I don't think it's standard Solution. I just covered by Command login just like this.</p>
  
  <pre><code>if(Schema::hasTable('dc_user_meta')){
      // Command Logic
  }
  </code></pre>
  
  <p>Any specific answer to why Laravel calls <strong>schedule()</strong> with every <code>artisan</code> command and how to solve the error in a standard way if something like this happens!</p>