Guest fizbang Posted July 23, 2004 Share Posted July 23, 2004 I'm new to autoit. I wrote a script that uses IE Explorer to log onto a website and download some reports. I have it scheduled to run every day. I have the autoit scripts compiled into exe's. It works fine when I'm logged in, but it won't run when scheduled and nobody is logged in. What am I missing? Link to comment Share on other sites More sharing options...
Guest fizbang Posted July 23, 2004 Share Posted July 23, 2004 Great product by the way. Link to comment Share on other sites More sharing options...
Andre Posted July 23, 2004 Share Posted July 23, 2004 Hi, Perhaps your internet uses a proxy where u need to authenticate. When no user is logged on, no authentication is possible. Andre What about Windows without using AutoIt ?It would be the same as driving a car without an steering Wheel! Link to comment Share on other sites More sharing options...
Arctor Posted July 23, 2004 Share Posted July 23, 2004 fizbangI: It works fine when I'm logged in, but it won't run when scheduled and nobody is logged in.I remebered this Topic:Script to run as a service.At least you can use AT (commandline scheduling). I think it works when no user is logged in.BTW: If you want do download some files or pages you can comfortably use AutoIt's function 'URLDownloadToFile' or use the powerful tool 'wget' instead of starting IE.arctor Link to comment Share on other sites More sharing options...
MrSmiley Posted July 23, 2004 Share Posted July 23, 2004 (edited) The AT scheduling service will definitely run even when nobody's logged in, but it will have problems accessing network drives, so you'll need to save the files to the local drive. Wget is another excellent option, and since it's command line driven, you can easily script it. For scheduling programs under Windows, I prefer nnCron Lite (http://www.nncron.ru) It uses standard Cron syntax and is extremely small and reliable. Edited July 23, 2004 by MrSmiley Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now