alafarm has asked for the wisdom of the Perl Monks concerning the following question:
However, when I schedule my task via Task Scheduler (windows server 2008) the Word process hangs (as seen in Task Manager). I suspect Word might be trying to ask a user something.
I did set these, but when run from Task Scheduler, Word never becomes visible:
$Word->{'Visible'} = 1;
$Word->{DisplayAlerts} = 0;
Can anyone think what difference it makes running the script via command line vs. Task Scheduler?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Win32::OLE from Task Scheduler
by Anonymous Monk on Aug 08, 2011 at 19:43 UTC | |
|
Re: Win32::OLE from Task Scheduler
by Marshall (Canon) on Aug 09, 2011 at 05:10 UTC | |
by alafarm (Novice) on Aug 10, 2011 at 14:19 UTC | |
by Marshall (Canon) on Aug 16, 2011 at 05:23 UTC |