Task Scheduler issues

  • Thread starter Thread starter David
  • Start date Start date
D

David

We have a compiled executable file that we would like to
run under the Task Scheduler. The issue is this:
If I go directly to the executeable file and double click
it, it runs and completes fine. If I put the same file
into Task Scheduler, using the same credentials in
the 'Run As' dialog, the file runs, but does not complete.
Obviously, there is something within the file that
prohibits completion, but it does not explain why I can
run that file from Windows Explorer but not the Scheduler.
A part of the executable calls san Outlook profile to send
a mail message, and this works if I directly execute the
file, but fails when running under Task Scheduler.
The user under "Run As' has full admin rights to both the
file server and the exchange server as well as the
specific mailbox profile..
Anybody have an idea?
 
We have a compiled executable file that we would like to
run under the Task Scheduler. The issue is this:
If I go directly to the executeable file and double click
it, it runs and completes fine. If I put the same file
into Task Scheduler, using the same credentials in
the 'Run As' dialog, the file runs, but does not complete.
Obviously, there is something within the file that
prohibits completion, but it does not explain why I can
run that file from Windows Explorer but not the Scheduler.
A part of the executable calls san Outlook profile to send
a mail message, and this works if I directly execute the
file, but fails when running under Task Scheduler.
The user under "Run As' has full admin rights to both the
file server and the exchange server as well as the
specific mailbox profile..
Anybody have an idea?


Any errors in Schedlgu.txt?
See tip 2911 in the 'Tips & Tricks' at http://www.jsiinc.com


Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 
Back
Top