Tracking Task State changes

Topics: Examples
Jun 12, 2014 at 7:27 AM
Hi,

Is there any way to subscribe to an event that would alert me if a task state has changed? What I'm really interested in is when a task changes from stopped to running and vice-versa. I'm on Windows Server 2012 with tasks that are created manually.

On Windows 2003 I subscribed to changes in the filesystem to detect any changes to tasks. This still works in 2012 EXCEPT in the case where there is a state change: no file system changes seem to happen in this case.

Thanks in advance!

PS. Thanks for the great library, it's otherwise everything i could possibly want =)
Coordinator
Jun 16, 2014 at 3:43 PM
That would be a nice feature, but there is nothing in the native library that would support this.