Configure crontab to execute Laravel Task Scheduling
<p>I set this on my cron file</p>
<pre><code>*    *    *    *    *    php artisan schedule:run &gt;&gt; /dev/null 2&gt;&amp;1
</code></pre>
<p>I have this in my Kernel.php</p>
<pre><code>&lt;?php

namespace App\Console;

use Carbon;

use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;

class Kernel extends ConsoleKernel
{
    /**
     * The Artisan commands provided by your application.
     *
     * @var array
     */
    protected $commands = [
        \App\Console\Commands\Inspire::class,
    ];

    /**
     * Define the application's command schedule.
     *
     * @param  \Illuminate\Console\Scheduling\Schedule  $schedule
     * @return void
     */
    protected function schedule(Schedule $schedule)
    {
        $now = Carbon\Carbon::now('America/New_York');
        $dt = Carbon\Carbon::parse($now);
        $time_start = $dt-&gt;toTimeString();
        $dt = str_replace('-','_',$dt);
        $dt = str_replace(' ','_',$dt);
        $dt = str_replace('/',':',$dt);
        $schedule-&gt;exec('curl '.env('APP_URL').'fbwifi/acl_update')-&gt;everyMinute()
            -&gt;sendOutputTo(public_path().'/tasks/log_'.$dt.'.txt');
    }
}
</code></pre>
<hr />
<p>If I manually run</p>
<pre><code>php artisan schedule:run
</code></pre>
<p>I got</p>
<pre><code>Running scheduled command: curl http://localhost:8888/fbwifi/acl_update &gt; '/Applications/MAMP/htdocs/code/site/portal/public/tasks/log_2016_10_21_14:01:33.txt' 2&gt;&amp;1 &amp;
</code></pre>
<p>and I see the file to be the log file generated perfectly fine.</p>
<hr />
<p>Then, I wait another 5 mins, I don't see anything else. I am supposed to get five more logs generated.</p>
<p>Did I do anything wrong ? How do I check this ?</p>