#Any package or ways to determine and save how much longer for a queued job to complete?

3 messages · Page 1 of 1 (latest)

tribal grove
#

Any package or ways to determine and save how much longer for a queued job to complete?
or only saving to db is only the way or there any specific stuff inbuilt for these purposes?

jagged forge
worthy gulch
# tribal grove Any package or ways to determine and save how much longer for a queued job to co...

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.