abp
abp copied to clipboard
Enqueue background jobs with `executionTime`.
#10311
@hikalkan What do you think?
We can just calculate the delay (as executionTime - Clock.Now
) and pass to the current method. Why we should define another method?
executionTime - Clock.Now
is fine. However, the final (first) execution time may depend on the job inserted time if we use the delay
. I'm not sure how long it will spend. It is not rigorous enough when we have an absolute execution time.
There is also a BackgroundJob Manager implementation for Hangfire (https://github.com/abpframework/abp/pull/10292) that will require to be updated for this specific change. Would also consider updating the documentation with this change