title: Run Laravel cron job in a background - Laravel 5.8
body: <p>I have a cron job with Laravel:</p>
  
  <pre><code>    public function handle(){
      $reimport = $this-&gt;argument('reimport');
  
      $lib = new CustomLibrary();
  
      $lib-&gt;importAll();
  
  }
  </code></pre>
  
  <p>I am calling this in my controller:</p>
  
  <pre><code>Artisan::call('my_command');
  </code></pre>
  
  <p>or in <code>SSH</code>:</p>
  
  <pre><code>php artisan my_command
  </code></pre>
  
  <p>Te problem is that in both places the job is not in a background, because it takes more than minute to finish. </p>
  
  <p>Is there way to make that job to run in a background in the controller and in <code>SSH</code> (optional) ?</p>