Jump to content

AutoIT won't Run when Scheduled on Win2K Server


Guest fizbang
 Share

Recommended Posts

Guest fizbang

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

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

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

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 by MrSmiley
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...