in reply to Win32::OLE and Windows Scheduled Tasks

What is the error message that the die produces?

I've noticed with one script I run regularly that uses OLE that I often get a failure the first time I run it and it succeeds the second time. Maybe you could test the result from CreateObject and rety if it fails?

True laziness is hard work
  • Comment on Re: Win32::OLE and Windows Scheduled Tasks