title: Laravel - How to start artisan automatically only once?
body: <p>If I have some artisan command and want to fire an event only once, is it possible run only if HTTP started first time?</p>
  
  <p>Note: There are while-loop so it should be maybe good run as shell sh script (not via browser), like exec() command without return data.</p>
  
  <p>I found solution using posix_getpgrp() and compare with cache::forever var. If is not same than call event and remove forever cache. Forever cache remember even if restart apache service.</p>