Jump to content

Scheduled Task Just not running


 Share

Recommended Posts

I have compiled a script written in Auto IT which will run a function in my ERP system.  When I run the script in AutoIT it runs.  I compiled the script and ran it.  It runs.  I wrote a powershell which will start the process.  If I manually run that, it runs. 

It is one line at the moment:

ShellExecute("G:\Infor\Visual\Visual MFG\VMTRVRPT.EXE","-u <user> -p <password> -d <databasename>")

 

As soon as I try to schedule the task (even just two minutes in the future and leave myself logged in and watching), it fails....although the scheduled task shows that it has completed.    I have been all over these forums trying everything to get this to run.    What can be wrong?

 

Link to comment
Share on other sites

  • Moderators

And you have the task in interactive mode, and you have confirmed after the task runs that the process is not running (not just that you do not see the window)?

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...