#Any package or ways to determine and save how much longer for a queued job to complete?
3 messages · Page 1 of 1 (latest)
you can use library bull-board for viewing the queue and there activities, like failed, complted, delayed
here is the link
https://github.com/felixmosh/bull-board
Bull does not provide a specific built-in mechanism to automatically calculate and store the estimated time remaining for a job, nor does Bull Board.
Because Bull is not a mind reader, the job's business logic is just a simple function, and Bull doesn't know what's going on inside that function and cannot predict the future.
You can strategically place "flags" throughout the job's business logic and temporarily store relevant progress information in a database.
That way, you track the job's execution milestones and use the stored data to calculate the estimated time remaining whenever needed.
This approach allows for flexibility and customization based on your specific requirements and enables you to retrieve accurate progress updates and estimated completion times.