P
P
PandaDrummer2020-10-01 13:18:23
Yii
PandaDrummer, 2020-10-01 13:18:23

How to start the worker so that it does not die after closing the console?

Hello, I just started to study queues and wrote a worker using yii . When I run a command through the console that catches new tasks and executes them, everything works fine. But after closing the console, the process dies. What do you recommend reading?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sanes, 2020-10-01
@PandaDrummer

https://help.ubuntu.ru/wiki/screen
Or write a service. systemd/init.d

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question