D
D
Denis Dormadekhin2018-04-24 16:47:48
Laravel
Denis Dormadekhin, 2018-04-24 16:47:48

How to send message via telegram bot in queue on laravel?

I am programming a telegram bot on laravel, through the supervisor I launch an artisan task that receives data through websockets, then, if I need the condition, an event is called where the data is processed and a task is placed in the queue to send a message to the user in telegram.
But the message is sent only if the command is executed
php artisan queue:restart
, that is, restart the queue, what could be the problem?
the queue is configured via the database driver

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