Sign in to follow this  
Followers 0
jbennett

Running a schedule to open an autoit file

7 posts in this topic

1 last question,

I have a scheduled task that runs as the NT AUTHORITY\SYSTEM account (for various reasons) and my AutoIT .exe wont run within the task.

Is there any way I can get the .exe file to work in this way?

thanks again

Share this post


Link to post
Share on other sites



Should work to my knowledge. What doesn't work when you run it like that ?

One thing to remember is that the working dir won't be the @Scriptdir (if I recall correctly)

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

The .exe works if I click on it, however when the .exe is run from a scheduled task the following message appears:

AutoIT Error

Line-1:

error:unable to execute the external program

access is denied

hmmm?

Share this post


Link to post
Share on other sites

What program are you trying to run?

Maybe post an snippet of what you are doing and fails when ran with the scheduler?


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Hi,

Sorry about the other thread.

Just found a better way now. Thanks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0