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.
BatchJob.AwaitBatch logging of timestamp is before a timestamp logged for the jobs contained in the batch