in reply to Re: Win32::OLE from Task Scheduler
in thread Win32::OLE from Task Scheduler

Thanks for the input:

Setting the Start-in path didn't help

The user I'm running as is not on the machine but one on the domain and has adminstrator privileges on the machine. I'm sure this has something to do with it.

Note that the perl script runs, but an interesting bit is this: if I choose "Run with highest privileges" Word starts and hangs. But if I don't choose this, Word does not start at all. All the event log shows is that the perl script successfully ran and is unaware of the Word instance.

So I think I just need to plug away at this permissions thing until I can find something that works. Maybe I'll try creating an admin user on the machine and run the task as that user. (somebody else created the one user account that's currently on the machine).

Replies are listed 'Best First'.
Re^3: Win32::OLE from Task Scheduler
by Marshall (Canon) on Aug 16, 2011 at 05:23 UTC
    The user I'm running as is not on the machine but one on the domain and has adminstrator privileges on the machine. I'm sure this has something to do with it.

    I suspect problems here also! While you are testing, get a simple "hello world" program to run every 2 minutes. Get that working while you are logged on and watching it. Then progress from there (does it still run when you log off, etc..).