How to provide Unique Key to a Job?
marcelinhov2 opened this issue · 2 comments
marcelinhov2 commented
At the docs, you make mention of define an unique key for a Job, but I can not do it and idk why. =/
masitko commented
Just add unique method with name of the job like in the example:
var job = Queue .createJob('unique_every', { timezone: 'Europe/Amsterdam' }) .priority('normal') .unique('unique_every');