I want to monitor a queue to be notified when it becomes empty. To do this I need to find out how many messages are in the queue and this task needs to run every interval ex. every 15 seconds.
I am confused reading the docs which say that you shouldn't use celerybeat in a worker for production, so does this mean I need to create a separate python script that utilizes periodic tasks? Not sure how I can implement this.