mardi 6 octobre 2020

Laravel 7 run queue:listen from route on shared hosting

I am wondering how to run php artisan queue:listen database manually to execute a job on a shared hosting. I am trying it from route file web.php :

Route::get('/job', function () {
    Artisan::call('queue:listen');
    return 'Job Started....';
});

But the approach is not working. I am able to run the job from local. How can I achieve this??



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/30EfDmQ
via IFTTT

Aucun commentaire:

Enregistrer un commentaire