vendredi 6 mai 2016

Laravel 5 task scheduler (for mail queue) not working

I'm trying to make Laravel automatically handle the emailing queue but can't make the task scheduler working. The problem is like:

I already got jobs successfully in the database table, and in Kernel.php:

$schedule->command('queue:work')->everyMinute();

on the remote server I've run this command under the project folder:

* * * * * php artisan schedule:run >> /dev/null 2>&1

But the scheduler still refuse to work, as job still remains in the table. If I manually run

artisan queue:work

the email is sent then.

What am I getting wrong here? Many thanks!



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1Tsfoxe
via IFTTT

Aucun commentaire:

Enregistrer un commentaire