I need to trace a particular task that is schedule in MS Task Scheduler - how do I do such a beast ?
In cron - all I need to do is add MAIL=user@destination.com in the crontab - it would be nice if Microsoft Scheduled Tasks
would have such a feature - tracing all the runtime events and email me at the end of the run - or save the run trace somewhere.
Someone then might ask - well, shouldnt your program log all the trace? - it does, but if some unknown events - it is impossible
to find what happens - or if I'm using a third party code - and it does something illegal and it has no way of log those message
then I have a really hard time to trace the problem.