title: PHP Infinite script with Laravel
body: <p>I have a table users that I need to upload continuously, so once updated, I would like to relaunch the command directly.</p>
  
  <p>Actually, I'm using a cron that launch itself each minute with Laravel (<code>$schedule-&gt;command('update:users')-&gt;everyMinute();</code>), but I'm losing some time if the job is quicker than one minute of I will overload my server if it is more than one minute.</p>
  
  <p>I was thinking to maybe use a queue, and once the script terminated, relauch itself, like this:</p>
  
  <pre><code>// Do My stuff
  Queue::push(new UpdateUsers($));
  </code></pre>
  
  <p>But if the script crash, it will not reload itself, and I need to launch it at least once. I know that I could use a pcntl_fork function, but I would like to have a turnkey function with Laravel. How should I do ?</p>