# Recurring Jobs : RecurringJobDto is not updated (Trigger Now)

**URL:** <https://discuss.hangfire.io/t/recurring-jobs-recurringjobdto-is-not-updated-trigger-now/3082>\
**Category:** bug?\
**Created:** [March 16, 2017, 1:50pm UTC](https://discuss.hangfire.io/t/recurring-jobs-recurringjobdto-is-not-updated-trigger-now/3082 "2017-03-16T13:50:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xvo](https://avatars.discourse-cdn.com/v4/letter/x/ea5d25/32.png) [@Xvo](https://discuss.hangfire.io/u/Xvo)\
**Post date:** [March 16, 2017, 1:50pm UTC](https://discuss.hangfire.io/t/recurring-jobs-recurringjobdto-is-not-updated-trigger-now/3082/1 "2017-03-16T13:50:50Z")

</div>

Hi,

i try to get the status of my reccuring Jobs.  
I noticed that when you run a job via the trigger now.  
The RecurringJobDto object was not updated. It means that it contains information that is in error compared to the last execution.

Is this a bug?

sample code :

foreach (var recurringJobDto in recurringJobsDto)  
{  
{  
var jobState = conn.GetStateData(recurringJobDto.LastJobId);  
if (jobState != null)  
{  
if (jobState.Name == “Succeeded”)  
{  
…  
}  
if (jobState.Name == “Processing”)  
{  
…  
}  
}  
}  
}
