Answer the question
In order to leave comments, you need to log in
How to launch a console application with dynamic timeout in Yii2?
Greetings, tell me how you can organize this scheme:
Is there a console application that needs to be launched every 20-30 seconds (random value)? Kron as I understand it is not suitable for such a purpose. Where to dig?
Thanks in advance for your replies.
Answer the question
In order to leave comments, you need to log in
Why not wrap what you need in a function and execute on a timer. I launched the application and every N seconds the function is executed.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question