title: How to schedule Artisan commands in a package?
body: <p>I have a package that contains Artisan commands. I’ve registered these commands with Artisan via my service provider like so:</p>
  
  <pre><code>/**
   * Register the application services.
   *
   * @return void
   */
  public function register()
  {
      // Register Amazon Artisan commands
      $this-&gt;commands([
          'App\Marketplace\Amazon\Console\PostProductData',
          'App\Marketplace\Amazon\Console\PostProductImages',
          'App\Marketplace\Amazon\Console\PostProductInventory',
          'App\Marketplace\Amazon\Console\PostProductPricing',
      ]);
  }
  </code></pre>
  
  <p>However, these commands need to be scheduled to run daily.</p>
  
  <p>I know in <strong>app/Console/Kernel.php</strong> there is the <code>schedule()</code> method where you can register commands and their frequency, but how can I schedule commands in my package’s service provider instead?</p>