-
As i start my server it logs Working, and Job completed why job running as i start the server, it should wait for 5 seconds and then run that function...
|
Beta Was this translation helpful? Give feedback.
Answered by
manast
Aug 2, 2023
Replies: 2 comments 13 replies
-
Hi @xts-bit, you may need to read our docs https://docs.bullmq.io/readme-1, you must have a worker instance |
Beta Was this translation helpful? Give feedback.
0 replies
-
@roggervalf Can you please give a code example to run a function after 10 seconds? even it server is restarted many timeS? |
Beta Was this translation helpful? Give feedback.
13 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ok, you are not calling
Queue.add
with its proper arguments. Please use Typescript or some other tool to help you avoid this kind of issues in the future: