Sign in to follow this  
Followers 0
xtrim

Problem with scheduled task after reboot

4 posts in this topic

Hi,

I've created a simple script that opens IE and saves web page to a file.

This script runs as a scheduled task every several minutes.

It runs very good.

The problem is that if the computer reboots, then the script is not working unless I log in to the computer.

the rest of the "job" runs just fine...only the script is not updating the file.

Once I log in it runs OK.

The script is one a remote server and I do not control the reboot process.

Is there a way to make it work without the need to log in all the time?

Tnx for your help :graduated:

Xtrim

Share this post


Link to post
Share on other sites



Well, I definitely know how to do things like that once the user is logged in. Placing the compiled script in the startup folder will run the script when a user logs in. However, to run your script without logging in? I'm not sure how Windows reacts to stuff like that. However, I did find this:

http://oreilly.com/pub/a/oreilly/windows/ron/startup_0401.html

HKLM\Software\Microsoft\Windows\CurrentVersion\Run

Launches a program automatically at system startup. This key is used when you always want to launch a program on a particular system.

Hope that helps,

-Fett


[sub]My UDF[/sub][sub] - Basics and Time extensions. Great for those new at AutoIt, also contains some powerful time extensions for pros.[/sub][sub]ScrabbleIt[/sub][sub] - Scrabble done in pure AutoIt. (In Progress)[/sub][sub]Nerd Party Extreme | My Portfolio | [email="fett8802@gmail.com"]Contact Me[/email][/sub]

Share this post


Link to post
Share on other sites

I've compiled the script to an exe file.

All other tasks run just fine without logging in...So why just this one fails to run??

again...it is a scheduled task...no need for the registry run...

tnx

Share this post


Link to post
Share on other sites

Any suggestions?

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