Quantcast
Channel: Task Scheduler Managed Wrapper
Viewing all articles
Browse latest Browse all 2206

New Post: How to Query historical task log with any conditions and and how to list instances of a task

$
0
0
1) Look at the CorrelatedTaskEvent class in the TaskSchedulerEditor library. I believe it meets your requirements. If not, the code for that class should give you some ideas on how to pull the history from the EventLog using your code.
2) The GetInstances method only gets running instances. For historical instances, you will have to pull them from the EventLog.

Viewing all articles
Browse latest Browse all 2206

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>