Answer the question
In order to leave comments, you need to log in
Do you also need to run queues on the hosting through the terminal?
For queues, I run the command on OpenServer php artisan queue:work
.
Do you need hosting too? Or will it happen automatically (similar to php artisan serve
)?
Answer the question
In order to leave comments, you need to log in
php artisan serve
is to start the debug web server. on hosting you will have a full-fledged Apache.
you will be able to run a php artisan queue:work
regular (virtual) hosting only in the "one task" mode, but it will most likely not work, since all hostings have a limit on the process time,
if there are not very many tasks, then it is quite possible to put them in cron (schedule) unless of course the schedule is not paranoid limited.
for one project, I slightly patched the lark (queue:work command), and instead of one task, I executed all the tasks that were in the queue. ran according to kroner according to the schedule. php artisan queue:work --daemon
php artisan queue:listen
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question