I have a fastapi server that is running 4 workers via gunicorn. I want to run a background / scheduled job in only one (any one) of the worker instead of all 4. How do i ensure that?
I have a fastapi server that is running 4 workers via gunicorn. I want to run a background / scheduled job in only one (any one) of the worker instead of all 4. How do i ensure that?