Jump to content

Windows Task Scheduler


naul
 Share

Recommended Posts

HI Guys,

So my AutoIT script/exe's are running beautifully - now for real automation I would like to add these to Windows Task Scheduler but wanted to know if I could background the execution?

i.e. So it doesnt launch the app on my desktop and run the commands but does this sliently?

Thanks as always...

N.

Link to comment
Share on other sites

Automation methods that rely on manipulating gui controls may be sketchy when done via a scheduled task.   Depending on the nature of the automation goal there may be ways to do so without relying on manipulating a GUI.  What types of tasks are you automating?

Link to comment
Share on other sites

You 'can' run the scripts on session 0, which is outside of the desktop environment (setup the scheduled task to run, even if user is not logged in), but you would have had to develop your scripts in a way that gets arround that environment:

http://www.autoitscript.com/wiki/FAQ#Why_doesn.27t_my_script_work_on_a_locked_workstation.3F

IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
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...