code?
Queue without Supervisor
Hello everyone, I am reaching out to seek advice regarding an issue I have encountered in the implementation of a system that sends a substantial volume of emails, subsequently processed in a queue.
Excessive Instance Generation:
Upon closer inspection, I observed that the cronjob itself generates new instances in the terminal, leading to an accumulation of active services on the server. This, in turn, results in timeouts and performance issues.
Queue Shutdown and Manual Reset:
In an attempt to address the issue, I experimented with running the cronjob once, checking for the queue's active state in the terminal, and subsequently removing the cron. Unfortunately, this approach proved unreliable, as the queue would intermittently and unpredictably shut down, necessitating manual intervention to reset it.
I can't install supervisor in my shared hosting, Hence, I am inquiring if there exists an alternative solution, either through code or terminal commands, that can effectively address these issues. I came across references to "Task Scheduling," but I am uncertain if it might introduce similar challenges, potentially creating multiple instances as observed with the cron configuration.
I would greatly appreciate any insights, ideas, or recommendations you may have on this matter.
Thank you for your time and consideration.
Please or to participate in this conversation.