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

New Post: Tracking Task State changes

$
0
0
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 =)

Viewing all articles
Browse latest Browse all 2206

Trending Articles



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