Jump to content

Scripts Spawned From Task Scheduler


Guest brox
 Share

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

: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.

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