title: How to undo or stop php artisan schedule:run
body: <p>This is in my dev environment for Laravel 5.3</p>
  <p>I am testing out scheduled emails and ran:</p>
  <pre><code>php artisan schedule:run
  </code></pre>
  <p>This worked fine and is sending the emails as expected.</p>
  <p>However I actually want this in the crontab file:</p>
  <pre><code> * * * * * php /home/test/website/artisan schedule:run &gt;&gt; /dev/null 2&gt;&amp;1
  </code></pre>
  <p>Since I added that line in the crontab file I was getting two emails sent out. I removed the line so am now only getting one email.</p>
  <p>But now I want to reverse/undo/stop/kill that php artisan schedule:run so that I can control the schedule from the crontab file.</p>
  <p>I saw this article: <a href="https://stackoverflow.com/questions/31920015/stop-a-laravel-scheduled-command-once-started">Stop a Laravel scheduled command once started?</a></p>
  <p>but the accepted answer ( ps -fe | grep artisan and kill PID ) for that doesn't work for me as I get the message:</p>
  <pre><code>kill: (PID) - No such process
  </code></pre>
  <p>Every time I run</p>
  <pre><code>ps -fe | grep artisan 
  </code></pre>
  <p>it seems to have a different PID - not sure what I am doing wrong in this.</p>
  <p>I have also halted my vagrant box but that didn't seem to have any effect.</p>
  <p>Any suggestions would be great!</p>
  <hr />
  <p>UPDATE: Just in case future me happens to have the same issue and stumbles on this SO post again - I have not been able to solve this issue and have decided it is no longer worth putting any more time into solving it - will just live with it for now. By taking that line out of the crontab I am only getting one email so all good for now.</p>