Automattic / kue

Kue is a priority job queue backed by redis, built for node.js.
http://automattic.github.io/kue
MIT License
9.45k stars 862 forks source link

how to lock kue job remove method while using distributed workers across machines? #1140

Open mayankgoyal1993 opened 6 years ago

mayankgoyal1993 commented 6 years ago

I need to do certain tasks on server restart.

On server restart, need to remove certain jobs and restart them at same time, so need to stop jobs starting at multiple instances.