I am using schtasks.exe to create and run a scheduled task dynamically. My problem is sometime the scheduled task does not get started at all.
How can I monitor this problem to resolve this problem?