I have a BatchJob with a number of jobs within the batch. I have added my own logging to the batch and jobs. I persist a start and end time for the batch and the jobs. I’m seeing odd data where the end time for batch, using BatchJob.AwaitBatch is a time before the end time logged by the code of my BackgroundJobs within the batch itself. This seems extremely odd. In the Hangfire Dashboard the dates seem to be correct.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
BatchJob continuations | 0 | 492 | September 20, 2022 | |
Await batch job stuck coz parent Job did change its state to succeeded / deleted with Hangfire 1.6.20 | 0 | 1267 | November 14, 2018 | |
How to get start date/time of a BatchJob in C#? | 0 | 423 | June 19, 2021 | |
AwaitBatch BackgroundJob not moving past Created | 0 | 764 | May 7, 2018 | |
Hangfire Pro: how to combine AwaitBatch, ContinueWith, Attach and Nested Batches | 4 | 5304 | December 25, 2017 |