title: laravel queue job running same job multiple times
body: <p>I'm trying to see Laravel Queue working, but got some problems.</p>
  
  <p>So I've added a testJob</p>
  
  <pre><code>protected function schedule(Schedule $schedule)
  {
      $schedule-&gt;job(new TestJob)-&gt;everyMinute();
  }
  </code></pre>
  
  <p>The job class does nothing, it's just a test</p>
  
  <pre><code>class TestJob implements ShouldQueue
  {
      use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
  
      public function __construct()
      {
          //
      }
  
      public function handle()
      {
          //
      }
  }
  </code></pre>
  
  <p>As docs says, added the cron to the server</p>
  
  <pre><code>* * * * * cd /home/ec2-user/myproject-prod &amp;&amp; php artisan schedule:run &gt;&gt; /dev/null 2&gt;&amp;1
  </code></pre>
  
  <p>For the last, added supervisor worker</p>
  
  <pre><code>[program:myproject-queue]
  process_name=%(program_name)s_%(process_num)02d
  command=php /home/ec2-user/myproject-prod/artisan queue:work --sleep=3 --tries=3
  autostart=true
  autorestart=true
  user=ec2-user
  numprocs=1
  redirect_stderr=true
  stdout_logfile=/home/ec2-user/supervisor-myproject-prod.log
  </code></pre>
  
  <p>So, as the loge below shows, at the same second you can see the same job running multiple times.</p>
  
  <p>Sometimes same job runs once (correctly), a lot of times it runs twice and a few times it works 4 times.</p>
  
  <pre><code>[2019-11-14 08:25:02][5537] Processing: App\Jobs\TestJob
  [2019-11-14 08:25:02][5537] Processed:  App\Jobs\TestJob
  [2019-11-14 08:25:05][5538] Processing: App\Jobs\TestJob
  [2019-11-14 08:25:05][5538] Processed:  App\Jobs\TestJob
  [2019-11-14 08:26:03][5539] Processing: App\Jobs\TestJob
  [2019-11-14 08:26:03][5539] Processed:  App\Jobs\TestJob
  [2019-11-14 08:26:06][5540] Processing: App\Jobs\TestJob
  [2019-11-14 08:26:06][5540] Processed:  App\Jobs\TestJob
  [2019-11-14 08:27:03][5541] Processing: App\Jobs\TestJob
  [2019-11-14 08:27:03][5541] Processed:  App\Jobs\TestJob
  [2019-11-14 08:27:06][5542] Processing: App\Jobs\TestJob
  [2019-11-14 08:27:06][5542] Processed:  App\Jobs\TestJob
  </code></pre>
  
  <p>Is was before running 8 processes in supervisor, so I changed to 1 and got the same problem.</p>
  
  <p>Stopping the worker I can see in MySQL jobs queue it looks like correct, adding one job per minute.</p>
  
  <p>So it looks like a conflict in worker.</p>
  
  <p>Is that correct? Am I doing something wrong?</p>
  
  <p>Is Laravel task scheduler ready for production with thousands of jobs?</p>