You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am scheduling repeatable jobs which get processed every 1hr. But in docs I don't see any pause() function available for job. I can only see we can pause entire queue and not specific job. Any suggestions how we can pause a specific job?
Current Implementation: If jobId=100 then I just store this jobId in redis DB and at the time of processing I just check if jobId is present in redisDB or not. If present then skip processing the job otherwise continue processing. Any idea if this approach can be improved?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am scheduling repeatable jobs which get processed every 1hr. But in docs I don't see any
pause()
function available for job. I can only see we can pause entire queue and not specific job. Any suggestions how we can pause a specific job?Current Implementation: If
jobId=100
then I just store this jobId in redis DB and at the time of processing I just check if jobId is present in redisDB or not. If present then skip processing the job otherwise continue processing. Any idea if this approach can be improved?Beta Was this translation helpful? Give feedback.
All reactions