I tryed to start cron in Laravel, what writo time ( Log::info(time()."\r\n");) to log file. I made next steps in console - console
It worked, but only 1 time. Only 1 time programm write time to log file, but in schedule file I put
$schedule->command('command:addToDB')->everyMinute();
My handle function looks like
public function handle()
{
Log::info(time()."\r\n");
}
Can somebody help me with this problem?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2xMJ6x2
via IFTTT
Aucun commentaire:
Enregistrer un commentaire