K
K
Kolya Vantukh2017-01-22 13:46:50
Yii
Kolya Vantukh, 2017-01-22 13:46:50

How to run console command automatically (Yii2)?

There is a websocket server that is started manually via the console. you need to make sure that it starts automatically when the site starts. What tools are used for this? how to implement it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Ivan Kudinov, 2017-01-22
@Frostealth

Try supervisor

M
melnikov_m, 2017-01-22
@melnikov_m

For example, you can run the system and eval functions through php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question