jeudi 1 février 2018

How to run Laravel queue commands on shared hosting?

I have made a notifications system in my laravel project. in development mode it works perfectly, but on shared hosting it doesn't because i couldn't run queue:listen to proccess the queued notifications.

Right now i use 000webhost free account to test my application and i could not find a way to run "php artisan queue:listen", i tried to create a "cron job" but it seems i don't know how to implement it because the way to create cron job on 000webhost is slightly different from the others, samething with laravel taks scheduling.

I use Pusher-js and laravel-echo to broadcast the notifications. I read a lot of topics but could not find a clear solution.

Thanks.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire