Ask Your Question
2

By what means does npm bull consume postponed tasks in the absence of cron?

asked 2023-05-27 23:33:14 +0000

huitzilopochtli gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-05-27 23:45:02 +0000

woof gravatar image

npm bull uses its own internal scheduler to consume postponed tasks in the absence of cron. The scheduler is responsible for checking for any queued tasks that are ready to be executed and dispatching them to the appropriate worker. This means that even if cron is not available, npm bull will still be able to process postponed tasks and ensure that they are executed at the appropriate time.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-05-27 23:33:14 +0000

Seen: 7 times

Last updated: May 27 '23