Try our conversational search powered by Generative AI!

LastExecution of a Scheduled Job


I have an optimization need in my scheuled job. It extends job base, and everything works fine. It imports prices, and i would like be able to sort out those who are not changed since the job has executed. For this i would need the time when the job executed last. And then check if the created/changed date is bigger than the execution date.

Have anyone done something similar?

Jun 12, 2014 16:12


We stored DateTime.UtcNow in DDS.

Edited, Jun 12, 2014 16:51

Another possibility that does not involve the DDS is to add the execution time to the Job Instance's execution log and then to read back the previous execution time from the log of the previous job instance (with a default value in case it is the first run of the Job).

Jun 12, 2014 17:23


If you use this guy ( - it shows you last execution date and time. Sneak around the code to check how it reads it from job store.

Jun 12, 2014 23:05
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.