there's nothing built in, so yes, you'd need to write a script or something to watch the task and the resulting log. You could for sure do it in Perl if that's your language of choice. I'd use VBScript because it's easy to get at WMI to see the task list, and easy to manipulate text files etc.
Thanks for the info. I will try with VBScript first