title: laravel 6 cannot set delay code for job queue
body: <p>i need help for correct delay code for run the job.. im using laravel 6 and now i doing scraping youtube number of view.</p>
  
  <p>let say that i have table that fill with youtube link. when i do scraping to youtube. we need to add delay time before we go to other link. if we dont make delay it. youtube will block our access. i want to add delay maybe 30 second for each loop.</p>
  
  <p>so what i already trid in my app/Console/Commands/GetYoutube.php file is this</p>
  
  <pre><code>use App\Models\Youtube;
  use App\Jobs\GetYoutubeView;
  use Carbon\Carbon;
  ...
  
  public function handle()
      {  
  
          $youtubes = Youtube::get();
          foreach ($youtubes as $youtube) { 
               GetYoutubeView::dispatch($youtube-&gt;link)-&gt;delay(Carbon::now()-&gt;addSeconds(30));
          }
  
      }
  </code></pre>
  
  <p>i tried this code. but still can't add delay 30 seconds for each loop</p>
  
  <p>other think that i add delay code <code>sleep(30);</code> on jobs file. here is what i've done in my jobs app/Jobs/GetYoutubeLink.php</p>
  
  <pre><code>public function handle()
  { 
    sleep(30);
    // Scraping youtube total number of views code
  }
  </code></pre>
  
  <p>but this same. it not delay 30 second for each loop. what is the correct delay code for this.</p>
  
  <p>please help. what is correct delay code in my case.</p>