Jun 2, 2015 at 10:50 AM
Edited Jun 2, 2015 at 2:22 PM
i want to get a list of all runtimes from a task.
I have the following situation:
10:10 o'clock Task was planned
10:15 o'clock manuel triggered
10:20 o'clock manual triggered
With the method getRunTimes()
, i get only the exectuion times for the planned one, not the manuel triggered.
Dim allRunsFromOneTask() As Date
allRunsFromOneTask = task.GetRunTimes(dStartdate.ToUniversalTime(), dEnddate.ToUniversalTime())
so i get the first one with getRunTimes-method and the last one with lastRunTime proberty but not the one in the middle.
allRunsFromOneTask(allRunsFromOneTask.Length - 1) = task.LastRunTime
Does someone have an idea ?