Laravel 5 How to run a php file via scheduler
<p>First time ever setting up a cron/scheduler.  How do I run a php file with the scheduler?  This is what I see in Laravel's documentation...</p>

<p>Entered the following command via Putty/SSH...</p>

<pre><code>php /path/to/artisan schedule:run &gt;&gt; /dev/null 2&gt;&amp;1
</code></pre>

<p>Now... In the Kernel.php file... do I simply add the path to the php file that I want to run in the statement below?</p>

<pre><code>$schedule-&gt;exec('node /home/forge/script.js')-&gt;daily();
</code></pre>