Answer the question
In order to leave comments, you need to log in
What is the best way to perform a periodic task in docker?
Docker old 1.7.1, Redis containers, MySQL, working (php cli + add-ons). The worker waits for the next video rendering task from Redis and executes it.
For monitoring, you need to take the queue length (LLEN in Redis) once every 5 minutes and write it to the log in the database. Run a short script in a split second. In the same environment as the worker.
What is the best way to do it? Tried:
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question