list the schedule tasks
C#
2
Posts
2
Posters
0
Views
1
Watching
-
Hi folks, Do you guys know how I can list all the scheduled tasks in Windows? What API should I call? Thanks a bunch.
I don't know if there is some FCL wrapper for it, but in C++, you use CoCreateInstance to get a handle to the task scheduler object, CLSID_CTaskScheduler. Given that, you can call Enum() to enumerate the scheduled tasks. Look up documentation on ITaskScheduler.