Jump to content

Recommended Posts

Posted

Hi All,

I have a test script that waits for a particular window and presses OK when it appears. This works fine when run manually, but when started from Task Scheduler it looks like it starts then ends very quickly.

Is there a trick to get scheduled tasks running?

I'm guessing it's in the area of which user to run the script as?

All help appreciated,

Jason

Posted

It has to be run as the same user currently logged in or it can't see the windows. On the properties page, there is a "RunAs:" label with an edit beside it. Fill it in (And password) and it should work.

Posted

:D Sweet as, thanks guys. :huh2:

I've used SU from the Windows Resource Kit cause I can pass it the password easier in this case.

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
×
×
  • Create New...