F
F
froosty2015-07-13 00:41:46
Laravel
froosty, 2015-07-13 00:41:46

How to configure execution of tasks from the cron queue in Laravel 5?

Good day. There was such a problem. It is necessary to start "listening" to the queue by cron. Like once every half hour. It is possible to configure the execution of the command only by cron. Therefore queue:listen is not suitable. (it will hang constantly, because it is completed only manually). queue:work doesn't work either. Because executes only one task from the queue and then exits. It would be ideal if the process hung for N minutes, after which it ended. Tell me, is it possible to do this? Thanks in advance for your reply.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question