View Full Version : Task Scheduler issues


David
09-03-2004, 05:19 PM
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?

Jerold Schulman
09-03-2004, 09:30 PM
On Fri, 3 Sep 2004 09:19:20 -0700, "David" <david.hall@ephinay.com> wrote:

>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

Jerold Schulman
09-03-2004, 09:30 PM
On Fri, 3 Sep 2004 09:19:20 -0700, "David" <david.hall@ephinay.com> wrote:

>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

Jerold Schulman
09-03-2004, 09:30 PM
On Fri, 3 Sep 2004 09:19:20 -0700, "David" <david.hall@ephinay.com> wrote:

>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