Emails Not Sending Automatically from Queue

Yes, you can follow the steps below:

  1. Access the Redis queue container (replace the container name accordingly):
docker exec -it erp-redis-queue sh
  1. Inside the container, open the Redis console:
redis-cli
  1. Run the following command to clear all queues:
FLUSHALL
  1. Exit the Redis CLI and container.

Next:

  1. Access your backend container (replace the container name):
docker exec -it erp-backend-1 bash
  1. Disable the scheduler for your site:
bench --site SITENAME scheduler disable
  1. Then re-enable it:
bench --site SITENAME scheduler enable

Finally, restart the server.

Note: This will clear all old queued tasks that are still pending in your Redis queue.