2

I have a scheduled task in Sitecore and I want to find the timestamp for its past executions. I can find this information in the Sitecore logs by looking to see when the info message gets written like:

ManagedPoolThread #3 03:31:12 INFO Starting: <TaskName> (asynchronously)
ManagedPoolThread #18 03:31:12 INFO Job started: ScheduleCommand '{<ID>}'
ManagedPoolThread #3 03:31:13 INFO Ended: <TaskName>

This works in a sense but it is pretty tedious analyzing logs like this. Is this history stored in a database/table anywhere that I can query?

1
  • I know for publishing you can get the last published timestamp. Maybe having log in the schedule job can help or insert a timestamp in a custom database which you can query easily Commented Oct 12, 2016 at 20:44

1 Answer 1

7

You can try the Sitecore Log Analyzer. You can filter by timeframe and add a string qualifier and look for Job started/ended statements in the logs.

enter image description here

1
  • Are these values also stored in the database? Commented Oct 12, 2016 at 21:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.